Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
Signed-off-by: J10a1n15 <45315647+j10a1n15@users.noreply.github.com>
  • Loading branch information
j10a1n15 committed Aug 13, 2024
1 parent 3d2f1ab commit 715efed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/scripts/checkDependencies.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ async function run() {
auth: process.env.GITHUB_TOKEN,
});

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

console.log("Context:", JSON.stringify(context, null, 2));

const {pull_request, repository} = context;

const {owner, repo} = repository;
const prNumber = pull_request.number;
const prBody = pull_request.body;
Expand Down

0 comments on commit 715efed

Please sign in to comment.