Skip to content

Commit 08d386c

Browse files
committed
ci: only run cachix workflow on code changes
1 parent a998f43 commit 08d386c

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/cachix.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
name: cache
1+
name: cachix
22

33
on:
44
push:
5-
branches: [main, master]
5+
branches: [master]
6+
paths:
7+
- "cmd/nssh/**"
8+
- "internal/**"
9+
- ".github/workflows/cachix.yaml"
10+
- "go.*"
11+
- "flake.*"
612
workflow_dispatch:
713

814
jobs:

0 commit comments

Comments
 (0)