fix(ci): Only run actions on push when branch is main

Pull requests run the CI twice otherwise
This commit is contained in:
Jalil David Salamé Messina 2024-02-02 14:59:13 +01:00
parent f53d0ae0fb
commit b49e02f174
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -1,6 +1,7 @@
name: Check flake name: Check flake
on: on:
push: push:
branches: [main]
path: path:
- ./**.nix - ./**.nix
- ./flake.lock - ./flake.lock