Skip to content

Commit

Permalink
add context debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Oct 21, 2024
1 parent 535e75d commit 9e8e68f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ export async function run() {
// Get the body of the IssueOps command
const body = context.payload.comment.body.trim()

core.debug(`context: ${JSON.stringify(context)}`)

// Check the context of the event to ensure it is valid, return if it is not
if (!(await contextCheck(context))) {
core.saveState('bypass', 'true')
Expand Down

0 comments on commit 9e8e68f

Please sign in to comment.