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: 4 comments 12 replies

Comment options

You must be logged in to vote
9 replies
@OddKMS
Comment options

@dieter-aerit
Comment options

@pdefreitas
Comment options

@AwolDes
Comment options

@bioche
Comment options

Answer selected
Comment options

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

@akashdip2001
Comment options

@mithunpandey
Comment options

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