Greetings.
We have recently notice some changes in Bitbucket behaviour.
1. Merging rules that was working before are no longer working, for instance we have been able to merge some PR when the requirements have not been met. Requirements like 2 approvals minimum, no request changes present are no longer applied and we have been able to merge. We are investigating on our side how this happened.
2. Is there a way to prevent a merge if the repo is not synchronized with the destination branch. Or even better, could we automate the synchronization when we merge? We have notice that it was easy to overlook the sync status and commit a regression when we merge a branch that is not synchronized.
Thank you!
For no.2. I have found that we can use the pipeline to sync the branches on a merge.
Still investigating on the no.1
We are also wondering if the CodeOwners plugin might interfere with the default set of rules?
Hi @Ian Dorion
The Pull Request UI has changed recently so this may be why it appears to be behaving differently:
The only way to prevent merges from occurring when checks have not passed is to enforce the merge checks however this requires a plan upgrade as it is a Premium feature.
Hope this helps, please let me know if I have misunderstood your query.
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not a problem @Ian Dorion - welcome to the Bitbucket Cloud community! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.