From da15cd0a43a7c1cf82eaf9461d533d54efe14c1d Mon Sep 17 00:00:00 2001 From: Sven Meyer Date: Wed, 20 Nov 2024 13:40:04 +0100 Subject: [PATCH] Do not run actions on merge to master or develop --- .github/workflows/build_and_test.yml | 5 ++++- .github/workflows/test.yml | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index f70bef378..8327ec53a 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -3,6 +3,9 @@ description: Basic build and tests for the submodules on each push and pull requ on: push: + branches-ignore: + - master + - develop pull_request: types: [opened, reopened] @@ -24,7 +27,7 @@ jobs: # Build the HeadlessAndroidScanner module and run its tests build-and-test-scanner-android: - runs-on: macos-latest + runs-on: ubuntu-latest steps: - name: Checkout source code diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4c8cfaa76..8515a7080 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,10 @@ name: Test Internal Action -on: push +on: + push: + branches-ignore: + - master + - develop jobs: internal_action: