From 14b0e4c42a575e88bb6299ef8401bf63f63b71e5 Mon Sep 17 00:00:00 2001 From: Edwin Gonzales Date: Tue, 28 Jul 2026 11:19:26 +0800 Subject: [PATCH] ci: run workflows on 19.0-staging-* branches Security fixes will be validated in batches on staging branches (19.0-staging-*) before merging to 19.0. Without this, PRs retargeted to a staging branch get no CI runs at all. --- .github/workflows/ci.yml | 4 ++-- .github/workflows/code-analysis.yml | 4 ++-- .github/workflows/pre-commit.yml | 4 ++-- .github/workflows/security.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8a66dc0a..6ef8ff06f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: ['19.0'] + branches: ['19.0', '19.0-staging-*'] pull_request: - branches: ['19.0'] + branches: ['19.0', '19.0-staging-*'] workflow_dispatch: inputs: modules: diff --git a/.github/workflows/code-analysis.yml b/.github/workflows/code-analysis.yml index 30229e906..71c597547 100644 --- a/.github/workflows/code-analysis.yml +++ b/.github/workflows/code-analysis.yml @@ -2,9 +2,9 @@ name: "Code Scanning - Action" on: pull_request: - branches: ["19.0"] + branches: ["19.0", "19.0-staging-*"] push: - branches: ["19.0"] + branches: ["19.0", "19.0-staging-*"] schedule: # Weekly: Monday at 3am UTC - cron: "0 3 * * 1" diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 078501344..19f5fd93c 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -2,9 +2,9 @@ name: pre-commit on: pull_request: - branches: ["19.0"] + branches: ["19.0", "19.0-staging-*"] push: - branches: ["19.0"] + branches: ["19.0", "19.0-staging-*"] workflow_dispatch: jobs: diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 070018a5c..730fcb91a 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -2,9 +2,9 @@ name: Security Scanning on: pull_request: - branches: ["19.0"] + branches: ["19.0", "19.0-staging-*"] push: - branches: ["19.0"] + branches: ["19.0", "19.0-staging-*"] schedule: # Weekly full scan: Monday at 2am UTC - cron: "0 2 * * 1"