Skip to content

Elevante GITHUB_TOKEN permissions in pull_request_review workflow #26651

Discussion options

You must be logged in to vote
carolynvs:

since pull_request_review also runs from the base ref, and doesn’t use the code from the pull request

According to the pull_request_review event documentation the pull_request_review event runs on the modified code (note the GITHUB_REF). I assume that’s why the permissions are just as restricted as for pull_request.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
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
2 participants