From 0dbf87f2911a8321df15570fb956b06ac3c371f9 Mon Sep 17 00:00:00 2001 From: henry senyondo Date: Sat, 20 Jul 2024 19:30:09 -0400 Subject: [PATCH] Additionally run tests on main after merging PR [no version bump] --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 12676c2a..f9296f35 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Tests will fail on PRs from forks - if: github.event.pull_request.head.repo.full_name != github.repository + if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository run: | echo Tests require pull requests be submitted from branches in the main repository exit 1