Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Single Push Without Github Action

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
like image 945
Carol Eisen Avatar asked Feb 06 '26 08:02

Carol Eisen


1 Answers

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.

like image 183
timmeinerzhagen Avatar answered Feb 09 '26 07:02

timmeinerzhagen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!