From 60568669f38027281043aaa0db5a75b93eb7ca40 Mon Sep 17 00:00:00 2001 From: Barry Gordon Date: Tue, 21 Sep 2021 18:19:03 +0100 Subject: [PATCH] Run verification workflows on main and release/* branches --- .github/workflows/codeql-analysis.yml | 8 ++++---- .github/workflows/integration-test.yml | 9 ++++++++- .github/workflows/test.yml | 3 ++- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1362e76..1a5e26f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,11 +1,11 @@ name: "CodeQL" on: - push: - branches: [ main ] pull_request: - # The branches below must be a subset of the branches above - branches: [ main ] + push: + branches: + - main + - 'releases/*' schedule: - cron: '26 7 * * 4' diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index c510c4e..8fa3a14 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -1,5 +1,12 @@ name: 'integration' -on: pull_request_target + +on: + pull_request: + push: + branches: + - main + - 'releases/*' + permissions: contents: read jobs: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 90d34b3..8a123b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,6 @@ name: 'test' -on: # rebuild any PRs and main branch changes + +on: pull_request: push: branches: