mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 03:33:55 -05:00
github: don't run default-build if there are no changes
This commit is contained in:
parent
a79af705fe
commit
1fb1be721c
1
.github/workflows/nix-build.yml
vendored
1
.github/workflows/nix-build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue