Skip to content

Getting changed files on a comment #2117

Answered by jackton1
jonashoye asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jonashoye, I’ll suggest changing

base_sha: ${{ github.event.pull_request.base.sha }}

To

base_sha: main

The GitHub context values for issue_comment doesn’t include the pull_request object.

Alternatively, you can change the event to pull_request_review_comment depending your use case.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jackton1
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants