diff --git a/.github/workflows/nix-build.yml b/.github/workflows/nix-build.yml index 08e0dd7d..e05938dc 100644 --- a/.github/workflows/nix-build.yml +++ b/.github/workflows/nix-build.yml @@ -8,6 +8,7 @@ on: workflow_dispatch: jobs: default-build: + if: contains(github.event.head_commit.message, 'flake/') || contains(github.event.head_commit.message, 'flake.nix') || contains(github.event.head_commit.message, 'flake.lock') runs-on: ubuntu-latest steps: - uses: actions/checkout@main