How to skip triggering an automatic pipeline build using Skip CI label
プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。
要約
Bitbucket Cloud allows skipping a Pipeline build trigger for a commit when it is not necessary.
環境
- Bitbucket Cloud Pipelines
ソリューション
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.