...
Go to the repository or project settings.
Click the Advanced Configuration tab and select the Trigger Pull request only if mergeable option.
Click Enable.
Note |
---|
If you have many pull requests in your repo or project, enabling this option can cause a significant load on Bitbucket. For this reason, the feature is disabled by default. |
...