Why Is [ci skip] or [skip ci] Not Working?

Build Initiates When Skip Tags Are Used

We allow skipping builds 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).


Additional Resources:

Was this article helpful?
9 out of 17 found this helpful



Article is closed for comments.