Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pngwn committed Jan 31, 2024
1 parent a048d23 commit 9c47e62
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/find-pr/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ async function run() {
outputs.mergeable = mergeable === "MERGEABLE" ? true : false;
outputs.merge_sha = merge_sha || sha || false;
} else if (context.eventName === "pull_request") {
console.log("PULL REQUEST", JSON.stringify(context.payload.pull_request));
console.log(
"PULL REQUEST",
JSON.stringify(context.payload.pull_request, null, 2)
);
const source_repo = context.payload.pull_request?.head.repo.full_name;
const source_branch = context.payload.pull_request?.head.ref;
const pr_number = context.payload.pull_request?.number;
Expand Down

0 comments on commit 9c47e62

Please sign in to comment.