Skip to content

Allow only specific people or team to approve a PR #23765

Answered by ghost
mantzas asked this question in New to GitHub
Discussion options

You must be logged in to vote

Hi @mantzas! Thanks for your question.

Through protected branch settings, you can specify a minimum number of reviews from collaborators with write or admin permissions on the repo.

You can combine this with a codeowners file to ensure that at least one member of a specific team approves changes for code that they own. However it’s not possible to require that more than one member of the team in the codeowners file approves the change.

I hope this helps!

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
8 replies
@Alex-ley-scrub
Comment options

@OddKMS
Comment options

@dieter-aerit
Comment options

@pdefreitas
Comment options

@AwolDes
Comment options

Answer selected
Comment options

You must be logged in to vote
2 replies
@dieter-aerit
Comment options

@akashdip2001
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment