Support [skip ci] out of box with github actions
See original GitHub issuePretty much every other ci/cd solution will skip running a workflow/pipeline if [skip_ci]
is in the commit text.
Currently the hack for this is to add an if
statement to jobs with something like "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
. However, this still runs the workflow, just not any jobs with the condition.
Please provide an out of box way for this to happen. One solution would be something like paths-ignore:
on:
push:
commit-ignore:
- [skip ci]
- [ci skip]
- ***NO_CI***
Issue Analytics
- State:
- Created 3 years ago
- Reactions:295
- Comments:30 (2 by maintainers)
Top Results From Across the Web
CI-SKIP-ACTION - GitHub Marketplace
Since 8th February 2021 GitHub Actions supports skipping workflows out of the box. This GitHub Action is not needed anymore and will be...
Read more >Skip CI / skip workflow documentation clarity · Issue #6162
Skip CI announcement: https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/ Skip CI ...
Read more >Skipping workflow runs
Note: Skip instructions only apply to the push and pull_request events. For example, adding [skip ci] to a commit message won't stop a...
Read more >How to write your own custom [skip ci] on GitHub Actions ...
Five years ago, GitHub Actions was released to simplify workflows for developers and allow them to integrate the ci/cd pipeline in the same ......
Read more >[Feature Request] Allow github actions to bypass branch ...
That's how we solved it; we have a custom dummy "CICD" github App and our workflows that make commits back to protected branches...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In case you missed it : https://github.blog/changelog/2021-02-08-github-actions-skip-pull-request-and-push-workflows-with-skip-ci/
Really surprised this feature is not available out of the box. Please add.