You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2026/07/08 16:52:17 UTC
(airflow) 01/01: Run CI on chart and airflow-ctl release-branch pull requests
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch fix-ci-triggers-chart-airflowctl-branches
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit c704f36aaf5f70506181188e678094cc03528e65
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Wed Jul 8 18:22:32 2026 +0200
Run CI on chart and airflow-ctl release-branch pull requests
Pull requests targeting the chart/v*-test|stable and airflow-ctl/v*-test|stable
release branches received no CI at all: those branch patterns were missing from
the pull_request/push branch filters of ci-amd, ci-arm and codeql-analysis, so
only branch-independent bot checks reported and a PR could show all-green
without any tests, static checks, or CodeQL ever running.
Add the chart and airflow-ctl release-branch patterns to those triggers (the
sync-enforced AMD-only trigger block in check_ci_workflows_in_sync.py is updated
in the same change so the amd/arm guard keeps passing). push triggers get the
-test variants only, matching the existing release-prep push convention.
---
.github/workflows/ci-amd.yml | 6 ++++++
.github/workflows/ci-arm.yml | 2 ++
.github/workflows/codeql-analysis.yml | 18 ++++++++++++++++--
scripts/ci/prek/check_ci_workflows_in_sync.py | 4 ++++
4 files changed, 28 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/ci-amd.yml b/.github/workflows/ci-amd.yml
index ab0a1a7ff60..bae46cfc5e9 100644
--- a/.github/workflows/ci-amd.yml
+++ b/.github/workflows/ci-amd.yml
@@ -37,6 +37,10 @@ on: # yamllint disable-line rule:truthy
- v[0-9]+-[0-9]+-test
- v[0-9]+-[0-9]+-stable
- providers-[a-z]+-?[a-z]*/v[0-9]+-[0-9]+
+ - chart/v[0-9]+-[0-9]+x-test
+ - chart/v[0-9]+-[0-9]+x-stable
+ - airflow-ctl/v[0-9]+-[0-9]+-test
+ - airflow-ctl/v[0-9]+-[0-9]+-stable
types: [opened, reopened, synchronize, ready_for_review]
push:
# Post-merge pushes to release-prep / providers branches run on both
@@ -47,6 +51,8 @@ on: # yamllint disable-line rule:truthy
branches:
- v[0-9]+-[0-9]+-test
- providers-[a-z]+-?[a-z]*/v[0-9]+-[0-9]+
+ - chart/v[0-9]+-[0-9]+x-test
+ - airflow-ctl/v[0-9]+-[0-9]+-test
workflow_dispatch:
permissions:
# All other permissions are set to none by default
diff --git a/.github/workflows/ci-arm.yml b/.github/workflows/ci-arm.yml
index 354155192a2..6dccbcd32e1 100644
--- a/.github/workflows/ci-arm.yml
+++ b/.github/workflows/ci-arm.yml
@@ -40,6 +40,8 @@ on: # yamllint disable-line rule:truthy
branches:
- v[0-9]+-[0-9]+-test
- providers-[a-z]+-?[a-z]*/v[0-9]+-[0-9]+
+ - chart/v[0-9]+-[0-9]+x-test
+ - airflow-ctl/v[0-9]+-[0-9]+-test
workflow_dispatch:
permissions:
# All other permissions are set to none by default
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index ec2d9e6fd8f..cd681028a47 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -20,9 +20,23 @@ name: "CodeQL"
on: # yamllint disable-line rule:truthy
pull_request:
- branches: ['main', 'v[0-9]+-[0-9]+-test', 'v[0-9]+-[0-9]+-stable']
+ branches:
+ - main
+ - v[0-9]+-[0-9]+-test
+ - v[0-9]+-[0-9]+-stable
+ - chart/v[0-9]+-[0-9]+x-test
+ - chart/v[0-9]+-[0-9]+x-stable
+ - airflow-ctl/v[0-9]+-[0-9]+-test
+ - airflow-ctl/v[0-9]+-[0-9]+-stable
push:
- branches: ['main', 'v[0-9]+-[0-9]+-test', 'v[0-9]+-[0-9]+-stable']
+ branches:
+ - main
+ - v[0-9]+-[0-9]+-test
+ - v[0-9]+-[0-9]+-stable
+ - chart/v[0-9]+-[0-9]+x-test
+ - chart/v[0-9]+-[0-9]+x-stable
+ - airflow-ctl/v[0-9]+-[0-9]+-test
+ - airflow-ctl/v[0-9]+-[0-9]+-stable
schedule:
- cron: '0 2 * * *'
diff --git a/scripts/ci/prek/check_ci_workflows_in_sync.py b/scripts/ci/prek/check_ci_workflows_in_sync.py
index d6116d856b8..2e5584c2431 100755
--- a/scripts/ci/prek/check_ci_workflows_in_sync.py
+++ b/scripts/ci/prek/check_ci_workflows_in_sync.py
@@ -126,6 +126,10 @@ AMD_ONLY_BLOCK = """ schedule:
- v[0-9]+-[0-9]+-test
- v[0-9]+-[0-9]+-stable
- providers-[a-z]+-?[a-z]*/v[0-9]+-[0-9]+
+ - chart/v[0-9]+-[0-9]+x-test
+ - chart/v[0-9]+-[0-9]+x-stable
+ - airflow-ctl/v[0-9]+-[0-9]+-test
+ - airflow-ctl/v[0-9]+-[0-9]+-stable
types: [opened, reopened, synchronize, ready_for_review]
"""