From 4acdfc682c389b9a6d8a70be4905345e3b03aff0 Mon Sep 17 00:00:00 2001 From: Sid Shukla Date: Fri, 9 Feb 2024 12:19:35 +0100 Subject: [PATCH] Change target Github branches for Github Actions (#379) The actions would previously run against PRs that were based against the main branch. They should run on any PR against any branch. --- .github/workflows/build-dev.yaml | 5 +++-- .github/workflows/codeql-analysis.yml | 5 +++-- .github/workflows/synopsys.yaml | 3 ++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-dev.yaml b/.github/workflows/build-dev.yaml index 1fa1f38a8e..73231d0093 100644 --- a/.github/workflows/build-dev.yaml +++ b/.github/workflows/build-dev.yaml @@ -3,9 +3,10 @@ env: EXPORT_RESULT: true on: push: - branches: [ "main" ] + branches: + - main + - 'release-*' pull_request: - branches: [ "main" ] jobs: build-container: runs-on: ubuntu-latest diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4a5df641b9..4d9f504f27 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -3,9 +3,10 @@ name: "Code Scanning - Action" on: push: - branches: [main] + branches: + - main + - 'release-*' pull_request: - branches: [main] schedule: - cron: '30 1 * * 0' diff --git a/.github/workflows/synopsys.yaml b/.github/workflows/synopsys.yaml index 568ce2b6b8..5d725bc20e 100644 --- a/.github/workflows/synopsys.yaml +++ b/.github/workflows/synopsys.yaml @@ -1,9 +1,10 @@ name: Black Duck Policy Check on: pull_request: + push: branches: - main - push: + - 'release-*' jobs: security: