From 3d08c1b49cc6a3e9989cf263d00ca76906aba4cb Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sat, 24 Apr 2021 17:59:03 +0200 Subject: [PATCH] CI: stop running builds on the master branch No one looks at them really, and they just consume resources. We still run them on forks, PRs and feature branches. --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 279dc06c..dd748fb4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,6 +6,7 @@ on: jobs: build: + if: ${{ github.repository != 'msys2/MSYS2-packages' || github.event_name != 'push' || github.ref != 'refs/heads/master'}} runs-on: windows-latest steps: