From cb4bedb442c4f552efaead9c6930e626c27e9056 Mon Sep 17 00:00:00 2001 From: Joseph Rogerson <92527240+JosephRogerson@users.noreply.github.com> Date: Thu, 11 Apr 2024 09:26:33 +0100 Subject: [PATCH] HOCS-6604: Run workflows on hotfix branches (#373) --- .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 6a40ccb..71702ad 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 efa8eef..255aa24 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'