I have a github repository for which I have an CI script set up using Github Actions. On 95% of the pushes into main, we need to run the script, so the script is triggered by push on main. Is there a way to push without executing actions as an exception. I am imagining something like:
git push main --no-action
You can have GitHub Actions skip a push event by including [skip ci] or any of the variants of that in your commit message as described in the GitHub Actions docs on skipping workflow runs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With