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.
This commit is contained in:
Christoph Reiter
2021-04-24 17:59:03 +02:00
parent 12ec3e78ff
commit 3d08c1b49c

View File

@@ -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: