From dac23adcbdc39f8dc07a670b441a025c1265d5fa Mon Sep 17 00:00:00 2001 From: Jeremy Drake Date: Fri, 16 Jul 2021 16:38:20 -0700 Subject: [PATCH] CI: don't run on master branch on any fork. Per discussion on discord, most use their master branch to mirror upstream, and do not need CI to run when they sync. --- .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 27930fbf82..b6ef2d932a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ on: jobs: build: - if: ${{ github.repository != 'msys2/MINGW-packages' || github.event_name != 'push' || github.ref != 'refs/heads/master'}} + if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master'}} runs-on: windows-latest strategy: fail-fast: false