From b49e02f1743115b3ff30c33a7b80ee9aaeb33378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jalil=20David=20Salam=C3=A9=20Messina?= Date: Fri, 2 Feb 2024 14:59:13 +0100 Subject: [PATCH] fix(ci): Only run actions on push when branch is main Pull requests run the CI twice otherwise --- .github/workflows/check.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index db66a58..8c4391f 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,6 +1,7 @@ name: Check flake on: push: + branches: [main] path: - ./**.nix - ./flake.lock