I'm setting up a pipeline in bitbucket and I was wondering if anyone could tell me if with a pipeline I can prevent a branch from being created or a tag from being created if it's outside a naming standard.
would it be possible to do this using a pipeline, webhooks or some other way?
Hello @João Correia and thank you for reaching out to Community!
By the time the pipeline/webhook is triggered, the tag/branch would have been already created, so I'm afraid it's currently not possible to enforce the branch/tag name conventions in Bitbucket Cloud.
We do have an open feature request to implement this functionality, which you can find in the following link:
I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind.
Thank you, @João Correia !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.