Skip to content

Commit e9af3e6

Browse files
Updated github workflow to run only when needed
1 parent ebfa1ff commit e9af3e6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/nix.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: Nix
22

33
on:
44
push:
5-
branches: [ main ]
5+
paths:
6+
- 'table-printer.nix'
67
pull_request:
7-
branches: [ main ]
8+
paths:
9+
- 'table-printer.nix'
810

911
jobs:
1012
tests:

0 commit comments

Comments
 (0)