DEV Community

0 seconds of 1 minute, 55 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
01:55
 
Brian Douglas for GitHub

Posted on • Edited on

1

Skip pull request and push GitHub Action workflows with [skip ci]

GitHub Actions now supports skipping push and pull_request workflows by looking for some common keywords in your commit message.

If any commit message in your push or the HEAD commit of your PR contains the strings [skip ci], [ci skip], [no ci], [skip actions], or [actions skip] workflows triggered on the push or pull_request events will be skipped.

There are certain situations where I don't want CI run. Mostly this happens when I plan to push a cascading wave of commits to a branch. Rather than watch my build minutes tick up, I would prefer to skip the CI entirely.

Screen Shot 2021-02-09 at 10.44.26 AM

Here's an example of me with a Vercel deployment, which is running, but my integration test with Cypress is not. This is because those tests are required.

Screen Shot 2021-02-09 at 9.41.52 AM

So keep that in mind if you do enable this.

I also want to point out that this feature came through to gitHub.community forums. If there are aspects of GitHub Actions that are missing in its feature set, definitely head over to the community forums and drop us a note.

This is part of my 28 days of Actions series. To get notified of more GitHub Action tips, follow the GitHub organization right here on Dev.

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more