I’m going to be honest with you all for a second. I write a lot of wip commits. These commits are normally small changes that I want to push up to GitHub so that:

  1. I don’t lose things if anything goes wrong and my backup hasn’t picked it up.
  2. If I can’t describe the change I have just made.
  3. If I’m demonstrating something to somebody on a pull-request.

The problem is, my actions are setup to run on push, so every single wip commit gets run through the CI process, whether it be running tests, linting or formatting.

After doing some research, I found a way of preventing these from running on every single commit.

#github

 Running GitHub Actions for Certain Commit Messages
1.10 GEEK