From e8bf8ad2e33c15e7da72842639c5ddade6dcf546 Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Wed, 1 Jan 2025 21:41:17 +0100 Subject: Run github workflow actions on release branches Running on the 'master' is not enough, actions also need to run on release branches. Signed-off-by: Bernd Schubert --- .github/workflows/codeql.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.github/workflows/codeql.yml') diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1cccb5f..b4c6fc1 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -13,9 +13,13 @@ name: "CodeQL Advanced" on: push: - branches: [ "master" ] + branches: + - master + - '[0-9]+.[0-9]+' # This will match branches like 3.17, 3.18, 4.0, etc. pull_request: - branches: [ "master" ] + branches: + - master + - '[0-9]+.[0-9]+' jobs: analyze: -- cgit v1.2.3