From de1e4391100419e73d737f3b3f5d53210e7dc4aa Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 25 Oct 2019 21:04:01 -0400 Subject: 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 --- .github/workflows/android.yml | 8 +++++++- .github/workflows/ios.yml | 8 +++++++- .github/workflows/linux-bionic-5.9.yml | 8 +++++++- .github/workflows/linux-trusty-5.12.yml | 8 +++++++- .github/workflows/mac.yml | 8 +++++++- .github/workflows/windows.yml | 8 +++++++- 6 files changed, 42 insertions(+), 6 deletions(-) (limited to '.github') 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: -- cgit v1.2.3-70-g09d2