Skip to content

Commit adb3003

Browse files
committed
debug
1 parent 9e065ec commit adb3003

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/pkg.pr.new-comment.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ export default async function ({ github, context, output }) {
55
// eslint-disable-next-line no-console -- For debugging on github actions.
66
console.log("pkg-pr-new publish output:", JSON.stringify(output));
77

8+
if (context.event_name === "pull_request") {
9+
// eslint-disable-next-line no-console -- For debugging on github actions.
10+
console.log("Pull Request Event", JSON.stringify(context));
11+
}
12+
813
const sha =
914
context.event_name === "pull_request"
1015
? context.payload.pull_request.head.sha

0 commit comments

Comments
 (0)