Hi Community,
We have the following requirement in Bitbucket Cloud:
release/* branchesrelease/* branches should be blockedOur DevOps team believes this is not possible in Bitbucket Cloud— but I wanted to confirm with the community before ruling it out.
Specifically, I'm looking for:
release/* while still allowing branch creation?release/* branches?Any guidance, configuration steps, or official documentation references would be greatly appreciated!
Thanks in advance.
This is indeed not possible out of the box. To address your questions:
1. No, it is a write permission which doesn't distinguish between commits and new branches.
2. Yes, but you need to create the branch first in order to reference it in the PR.
3. No, the checks apply to the PR only.
We provide an Bitbucket app, Flowie, that supports the workflow you described out the box. This page describes the problem and how Flowie solves it. You can either use the app, or implement somthing similar yourself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.