Skip to content

Commit

Permalink
add debug statement
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaclennan committed Oct 22, 2024
1 parent 3020ab7 commit e71ea12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const getCommentId = async (octokit, oktokitParams, issueNumber, commentHeader)
// workflow, but if using a github app token or a personal access token,
// then it's necessary.
}
debug('Action user: ' + actionUser.login)

if (!currentComments || !currentComments.data) {
throw Error('💥 Cannot fetch PR comments data, aborting!')
Expand Down

0 comments on commit e71ea12

Please sign in to comment.