From dd262d3ef1d6b475fb18cb5cc170b32d2832d636 Mon Sep 17 00:00:00 2001 From: Joseph Rogerson Date: Tue, 9 Apr 2024 11:47:27 +0100 Subject: [PATCH] HOCS-6604: Run workflows on hotfix branches --- .github/workflows/anchore-scan.yml | 2 +- .github/workflows/codeql-analysis.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/anchore-scan.yml b/.github/workflows/anchore-scan.yml index f236e375..f379c612 100644 --- a/.github/workflows/anchore-scan.yml +++ b/.github/workflows/anchore-scan.yml @@ -2,7 +2,7 @@ name: "Anchore Scan" on: push: - branches: [ main ] + branches: [ main, 'hotfix/**' ] pull_request: types: [ labeled, opened, reopened, synchronize ] schedule: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c088a24b..8141a4ff 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,9 +2,9 @@ name: "CodeQL Scan" on: push: - branches: [ main ] + branches: [ main, 'hotfix/**' ] pull_request: - branches: [ main ] + branches: [ main, 'hotfix/**' ] schedule: - cron: '45 12 * * 1'