Skip to content

Commit

Permalink
i hate this
Browse files Browse the repository at this point in the history
Signed-off-by: J10a1n15 <[email protected]>
  • Loading branch information
j10a1n15 committed Aug 13, 2024
1 parent da48986 commit a462f52
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/scripts/checkDependencies.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ async function run() {
},
});

const {event, repository} = JSON.parse(process.env.GITHUB_CONTEXT);
const context = JSON.parse(process.env.GITHUB_CONTEXT);

const {event, repository} = context;

const pull_request = event.pull_request;

const {ownerObj, name} = repository;
const owner = ownerObj.login;
const owner = context.repository_owner;
const name = context.repository.split("/")[1];

const prNumber = pull_request.number;
const prBody = pull_request.body || "";

Expand Down

0 comments on commit a462f52

Please sign in to comment.