Ryan Chandler shares how to configure your GitHub Actions Workflow in such a way that they skip a build when a certain word appears in the commit message.
jobs:
format:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, 'nobuild')"
You can also flip it around, to only build whenever a specific word is present.
Running GitHub Actions for Certain Commit Messages →
Via Freek