fix(ci): Only run actions on push when branch is main
Pull requests run the CI twice otherwise
This commit is contained in:
parent
f53d0ae0fb
commit
b49e02f174
1 changed files with 1 additions and 0 deletions
1
.github/workflows/check.yml
vendored
1
.github/workflows/check.yml
vendored
|
@ -1,6 +1,7 @@
|
||||||
name: Check flake
|
name: Check flake
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches: [main]
|
||||||
path:
|
path:
|
||||||
- ./**.nix
|
- ./**.nix
|
||||||
- ./flake.lock
|
- ./flake.lock
|
||||||
|
|
Loading…
Reference in a new issue