Skip to content

What permission does a Github Action need to call graphql enablePullRequestAutoMerge? #24686

Discussion options

You must be logged in to vote

With some trial-and-error in a test repository, I found the minimum permissions to execute the enablePullRequestAutoMerge mutation are:

permissions:
  contents: write

Replies: 3 comments

Comment options

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