From 37389ba0e1fe77d47f8e63bb27317702cdd76c86 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Thu, 3 Oct 2024 09:17:56 -0400 Subject: [PATCH] github: avoid running tests twice in PRs Signed-off-by: Simon Deziel --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 5f8fffd6..2e4db11c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,9 @@ name: Tests on: - - push - - pull_request + push: + branches: + - main + pull_request: permissions: contents: read