[ci] Avoid duplicate builds on pull requests

Don’t run GitHub Actions on pushing to branches other than master. This
was already the case for the linux-ci workflow.
This commit is contained in:
Khaled Hosny 2021-03-16 00:20:05 +02:00
parent 07315d9c83
commit ff86c72e09
2 changed files with 4 additions and 0 deletions

View File

@ -2,7 +2,9 @@ name: msvc
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
msvc:

View File

@ -2,7 +2,9 @@ name: msys2
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
msys2: