Skip Pipeline Execution
About 196 wordsLess than 1 minute
Actively Skip Pipeline
Sometimes we don't need to trigger pipelines. You can skip pipeline execution in the following ways:
For push, commit.add and branch.create events, pipelines are skipped in these two scenarios:
- When the most recent commit message contains
[ci skip]or[skip ci]. - Using
git push -o ci.skip.
Example:
git commit -m "feat: some feature [ci skip]"
git push origin maingit commit -m "feat: some feature"
git push origin main -o ci.skipEvent Ignoring
To avoid unnecessary pipeline executions, Cloud Native Build will ignore events in the following scenarios:
- Changes to files in secret repositories.
- Events where the head commit timestamp is earlier than 10 minutes before the repository creation time during repository migration.
- Git operations triggered when "Allow Auto Trigger" is unchecked in repository settings.
- When "Allow Auto Trigger for Forked Repositories by Default" is unchecked in repository settings, forked repositories will have "Allow Auto Trigger" unchecked by default.