Published at
Updated at
Reading time

Ryan Chandler wrote the quick post Running GitHub Actions for Certain Commit Messages.

I built a few projects with GitHub actions. The technology is great, but unfortunately, the documentation gave me a hard time.

This post is a quick bookmark for my future self. 😊

    runs-on: ubuntu-latest
    if: "! contains(github.event.head_commit.message, 'wip')"

This (☝️) is how you can limit the execution of GitHub actions depending on a commit message. :)

Was this snippet helpful?
Yes? Cool! You might want to check out Web Weekly for more snippets. The last edition went out 1 days ago.

Related Topics

Related Articles

About the author

Stefan standing in the park in front of a green background

Frontend nerd with over ten years of experience, "Today I Learned" blogger, conference speaker, Tiny helpers maintainer, and DevRel at Checkly.