[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.
pull/2899/head
Khaled Hosny 4 years ago
parent 07315d9c83
commit ff86c72e09
  1. 2
      .github/workflows/msvc-ci.yml
  2. 2
      .github/workflows/msys2-ci.yml

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

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

Loading…
Cancel
Save