diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-25 21:04:01 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-25 18:32:50 -0700 |
commit | de1e4391100419e73d737f3b3f5d53210e7dc4aa (patch) | |
tree | ae9a685fa9447a37bd886e04467491113638f8a3 /.github | |
parent | f83505b554e0a0ac43dab5ce8503fbc100689644 (diff) | |
download | subsurface-de1e4391100419e73d737f3b3f5d53210e7dc4aa.tar.gz |
GitHub Actions: only build pushes into and PR against master
This should fix the odd double builds for people who create branches for
pull requests in the main repository.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/android.yml | 8 | ||||
-rw-r--r-- | .github/workflows/ios.yml | 8 | ||||
-rw-r--r-- | .github/workflows/linux-bionic-5.9.yml | 8 | ||||
-rw-r--r-- | .github/workflows/linux-trusty-5.12.yml | 8 | ||||
-rw-r--r-- | .github/workflows/mac.yml | 8 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 8 |
6 files changed, 42 insertions, 6 deletions
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index cfb22b357..d5b539c51 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,5 +1,11 @@ name: Android -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: buildInContainer: diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 90a5c8615..f70334b71 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -1,5 +1,11 @@ name: iOS -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: mobileBuild: diff --git a/.github/workflows/linux-bionic-5.9.yml b/.github/workflows/linux-bionic-5.9.yml index e616c2cb2..d82a9b3ad 100644 --- a/.github/workflows/linux-bionic-5.9.yml +++ b/.github/workflows/linux-bionic-5.9.yml @@ -1,5 +1,11 @@ name: Linux Qt 5.9 -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: buildOnBionic: diff --git a/.github/workflows/linux-trusty-5.12.yml b/.github/workflows/linux-trusty-5.12.yml index d7e4e1284..0c9e5697b 100644 --- a/.github/workflows/linux-trusty-5.12.yml +++ b/.github/workflows/linux-trusty-5.12.yml @@ -1,5 +1,11 @@ name: Linux Qt 5.12 -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: buildInContainer: diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index 3b2ea67c8..109689dca 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -1,5 +1,11 @@ name: Mac -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: desktopBuild: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 96dc72c4a..8fa3dd6af 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,5 +1,11 @@ name: Windows -on: [push, pull_request] +on: + push: + branches: + - master + pull_request: + branches: + - master jobs: buildInContainer: |