chore: generalize release-1.* branch patterns for 2.y support - #3189
Conversation
GitHub Actions branch filters and Renovate baseBranchPatterns hardcoded release-1.[0-9]+ / rhdh-1.[0-9]+ / 1.[0-9]+.x, which would silently stop matching once release branches move to release-2.0 and beyond. Generalize these to digit-agnostic patterns (release-[0-9]+.[0-9]+, etc.) so CI keeps working across the 1.y -> 2.y transition with no further changes needed. Part of the upstream build-infrastructure audit for 2.y readiness. Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3189 +/- ##
==========================================
+ Coverage 62.57% 63.25% +0.67%
==========================================
Files 38 38
Lines 2234 2316 +82
==========================================
+ Hits 1398 1465 +67
- Misses 695 706 +11
- Partials 141 145 +4
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
/agentic_review |
Code Review by Qodo
Context used✅ Compliance rules (platform):
18 rules✅ Cross-repo context Not relevant to this PR:
redhat-developer/rhdh Not relevant to this PR:
redhat-developer/rhdh-plugins 1. Push triggers branch mismatch
|
Keep only main and release-X.Y patterns; rhdh-* and *.x branches are no longer used. Co-authored-by: Cursor <cursoragent@cursor.com>
|
8fbee94
into
redhat-developer:main



Summary
release-1.[0-9]+/rhdh-1.[0-9]+/1.[0-9]+.xbranch-filter patterns in GitHub Actions workflows and Renovate config to digit-agnostic equivalents (release-[0-9]+.[0-9]+, etc.), so CI/Renovate continue to trigger correctly once release branches move torelease-2.0and beyond.1.ybranches — verified via regex simulation that the new patterns match both currentrelease-1.10-style branches and futurerelease-2.0/release-10.3-style branches, while still rejecting unrelated branches.Files changed
.github/workflows/pr.yaml.github/workflows/pr-dockerbuild-validation.yaml.github/workflows/pr-bundle-diff-checks.yaml.github/workflows/update-rpm-lockfile.yaml.github/workflows/next-container-build.yaml.github/renovate.jsonContext
Part of a broader upstream build-infrastructure audit for 2.y readiness across
rhdh-operator,rhdh-chart,rhdh-local, andred-hat-developers-documentation-rhdh. Opened as draft to track review before the 2.0 branch cut.Not included in this PR (flagged as follow-ups)
refs/heads/release-*), mirroringrhdh/rhdh-plugin-export-overlays.nightly.yaml,nightly-upgrade-test.yaml,sync-lightspeed-configs.yaml) and RenovatematchBaseBranchesdisable blocks for specific old branches — these are intentionally curated and get a normal manual update at every release cut.Test plan
release-1.ytriggersAssisted-by Cursor
Related