Why is [ci skip] or [skip ci] not working?

We allow skipping a build in CircleCI by passing either [ci skip] or [skip ci] tag in the first line of the body of the commit or the commit’s title.

However, there are a few circumstances where this will not skip the build:

  1. The build is associated with a forked PR
  2. The build is associated with a scheduled build
  3. The build is generated from the "Trigger a new pipeline" API endpoint
  4. The build is triggered via a tag
  5. You include it at the end of a commit body that has more than 247 characters

With the above in mind, to ensure builds are skipped, always try to include the tag in the subject of the commit or the very start of the commit body.

If you need to skip a build triggered from the API you will want to consider implementing pipeline parameters that you can pass when triggering the build that will flag the build not to run (think a boolean that defaults to true and if you pass false workflows won't run).

Was this article helpful?
6 out of 10 found this helpful



Article is closed for comments.