How to skip triggering an automatic pipeline build using Skip CI label

Still need help?

The Atlassian Community is here for you.

Ask the community

skip ci

 

Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.

   

Summary

Bitbucket Cloud allows skipping a Pipeline build trigger for a commit when it is not necessary.

Environment

  • Bitbucket Cloud Pipelines

Solution

When pushing a commit, whether through the UI or locally, ensure you add the label:

  • If using the commit message through the UI, include [skip ci] or [ci skip].

  • If pushing locally, add the label directly to the commit message.

This will prevent the Pipeline build from being triggered. Remember that only these specific labels are accepted to skip the build. If you try using a different label like [skip-ci] or similar, then the build is triggered.


Please note that you'll still be able to manually trigger a pipeline using one of the methods mentioned here - Manually Trigger Pipelines. The label will only prevent triggering automatic builds. 

Last modified on Aug 6, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.