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.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay