From 34e924f2557a06ba6d896f33e80861650fc76522 Mon Sep 17 00:00:00 2001 From: Taner Sener Date: Fri, 5 Nov 2021 18:57:47 +0000 Subject: [PATCH] run github actions only on native branches --- .github/workflows/android-build-scripts.yml | 9 ++++++++- .github/workflows/ios-build-scripts.yml | 9 ++++++++- .github/workflows/macos-build-scripts.yml | 9 ++++++++- .github/workflows/tvos-build-scripts.yml | 9 ++++++++- 4 files changed, 32 insertions(+), 4 deletions(-) diff --git a/.github/workflows/android-build-scripts.yml b/.github/workflows/android-build-scripts.yml index 62f34b6..702ecc8 100644 --- a/.github/workflows/android-build-scripts.yml +++ b/.github/workflows/android-build-scripts.yml @@ -1,6 +1,13 @@ name: android build scripts -on: [ push, pull_request ] +on: + push: + branches: + - development + - main + pull_request: + branches: + - main jobs: build-main-on-linux: diff --git a/.github/workflows/ios-build-scripts.yml b/.github/workflows/ios-build-scripts.yml index 1613e88..a93a3a1 100644 --- a/.github/workflows/ios-build-scripts.yml +++ b/.github/workflows/ios-build-scripts.yml @@ -1,6 +1,13 @@ name: ios build scripts -on: [ push, pull_request ] +on: + push: + branches: + - development + - main + pull_request: + branches: + - main jobs: build-main-on-macos-bigsur: diff --git a/.github/workflows/macos-build-scripts.yml b/.github/workflows/macos-build-scripts.yml index 4606f0f..e1f6e37 100644 --- a/.github/workflows/macos-build-scripts.yml +++ b/.github/workflows/macos-build-scripts.yml @@ -1,6 +1,13 @@ name: macos build scripts -on: [ push, pull_request ] +on: + push: + branches: + - development + - main + pull_request: + branches: + - main jobs: build-main-on-macos-bigsur: diff --git a/.github/workflows/tvos-build-scripts.yml b/.github/workflows/tvos-build-scripts.yml index 6767cad..66edbe2 100644 --- a/.github/workflows/tvos-build-scripts.yml +++ b/.github/workflows/tvos-build-scripts.yml @@ -1,6 +1,13 @@ name: tvos build scripts -on: [ push, pull_request ] +on: + push: + branches: + - development + - main + pull_request: + branches: + - main jobs: build-main-on-macos-bigsur: