Skip to content

What permission does GitHub app need to execute gh pr view and gh pr merge --auto? #8083

Discussion options

You must be logged in to vote

Thanks for the guidance @andyfeller. With this info, I submitted a ticket with my org's admins, and they granted read-write access to "code". So, the app's permission now looks like this -

  • Read access to members, metadata, and repository projects
  • Read and write access to code, commit statuses and pull requests

The app is now able to do gh pr view and gh pr merge.

Thanks again.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@bikram-agarwal
Comment options

Answer selected by bikram-agarwal
@andyfeller
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants