---
url: /en/build/skip-pipeline.md
description: >
  Describes methods to prevent pipeline execution, including using commit
  message keywords ([ci skip], [skip ci]), git push options, and event-level
  ignore configurations in .cnb.yml.
---
## Actively Skip Pipeline

You can skip pipeline execution using either of the following methods:

1. Include `[ci skip]` or `[skip ci]` in the most recent commit message
2. Use `git push -o ci.skip`

```bash
# Method 1: Mark in commit message
git commit -m "feat: some feature [ci skip]"
git push origin main
```

```bash
# Method 2: Skip via push option
git commit -m "feat: some feature"
git push origin main -o ci.skip
```

:::tip
These methods only take effect in `push`, `commit.add`, and `branch.create` events.
:::

## Event Ignoring

To avoid unnecessary pipeline executions, Cloud Native Build ignores the following scenarios:

1. Changes to files in secret repositories
2. Events where the head commit timestamp is earlier than 10 minutes before
   the repository creation time during repository migration
3. Git operations triggered when "Allow Auto Trigger" is unchecked in repository settings
4. Forked repositories do not auto-trigger by default
   (unless "Allow Auto Trigger for Forked Repositories by Default" is checked in repository settings)
