Skip to content

Commit ca04c09

Browse files
committed
ci(nix): add paths filter to pull_request trigger
- Add paths filter to pull_request trigger so flake-check only runs when nix-related files are changed - Fix workflow file extension from .yml to .yaml for consistency This reduces unnecessary CI runs on PRs that don't modify nix files.
1 parent 02a572e commit ca04c09

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/nix-flake.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,14 @@ on:
55
paths:
66
- 'flake.nix'
77
- 'flake.lock'
8-
- '.github/workflows/nix-flake.yml'
8+
- '.github/workflows/nix-flake.yaml'
99
- '.github/actions/setup-nix/**'
1010
pull_request:
11+
paths:
12+
- 'flake.nix'
13+
- 'flake.lock'
14+
- '.github/workflows/nix-flake.yaml'
15+
- '.github/actions/setup-nix/**'
1116

1217
concurrency:
1318
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)