We are trying to improve our merge process by protecting specific branches from merge of any unapproved pull request.
The developer create a pull request and he/she can´t merge it until it is at least from one reviewers approved.
How to protect specific branches from such merges using Bitbucket api ? Or is there another way to achieve that goal ?
Thanks a lot in advanced
CodePudding user response:
Go to "Repository settings" (admin rights on the repo needed), then in "Pull requests", click on "Default reviewers"
Here you can set how many reviewers must give their approval for a pull request to be mergeable.