I have some custom pipelines that I want to only be executable from commits merged onto master. I've tried a few permutaions on the bitbucket-pipelines.yml file, but in effect I want something that does this:
custom:
custom-build-name:
master:
- step:
script: ...
Is this possible?
Hi Shane, that's currently not possible.
Could you explain why you want to restrict a custom pipeline to master only?
I have some custom pipelines that deploy to our production servers. I wanted to prevent code that hasn't undergone our pull request process from accidentally getting deployed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.