Skip to content

Blocking all merges to a branch #22107

Discussion options

You must be logged in to vote

Hi @kylekthompson - welcome to the GitHub Community.

You are correct in that it’s not possible to entirely prevent all merges on a specified branch.

It’s only possible to restrict the conditions in which a merge can take place using the existing branch protection settings within GitHub.

Sorry this isn’t the answer you are looking for!

Replies: 3 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
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
Labels
New User Help ❓ New User help
3 participants