Skip to content

*: release actions improvements#4492

Merged
KaloyanTanev merged 2 commits intomainfrom
kalo/release-actions-rc-filtering
Apr 24, 2026
Merged

*: release actions improvements#4492
KaloyanTanev merged 2 commits intomainfrom
kalo/release-actions-rc-filtering

Conversation

@KaloyanTanev
Copy link
Copy Markdown
Collaborator

  • Do not take into considerations RCs of minors when doing a new patch (i.e.: if there is v1.10.0-rc3, but no stable v1.10.0 and trigger the patch release pipelines, do not create v1.10.1-rc0, but rather v1.9.4-rc1)
  • Add option to optionally tag patch of an old minor (i.e.: a vulnerability is found and we'd like to patch both v1.8 and v1.9)

category: feature
ticket: none

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the patch-release GitHub Actions workflows to (1) avoid selecting in-progress minors that only have RC tags, and (2) optionally target a specific older minor for patching (e.g., for vulnerability backports).

Changes:

  • Add workflow_dispatch input target_minor (vX.Y) to allow explicitly patching a chosen minor.
  • Change “latest release branch” selection to choose the latest minor that has a stable vX.Y.0 tag (skipping RC-only minors).
  • Ensure tags are fetched before evaluating branch/tag availability.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/patch-release-step1.yml Adds target_minor input and updates minor-branch selection logic to require a stable vX.Y.0 tag.
.github/workflows/patch-release-step2.yml Adds target_minor input and applies the stable-tag-gated minor selection before tagging RCs.
.github/workflows/patch-release-step3.yml Adds target_minor input and applies the stable-tag-gated minor selection before preparing stable PRs.
.github/workflows/patch-release-step4.yml Adds target_minor input and applies the stable-tag-gated minor selection before tagging stable patch releases.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/patch-release-step1.yml
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.13%. Comparing base (97959c4) to head (6518479).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4492      +/-   ##
==========================================
- Coverage   56.56%   56.13%   -0.44%     
==========================================
  Files         245      245              
  Lines       32817    41959    +9142     
==========================================
+ Hits        18564    23552    +4988     
- Misses      11895    16046    +4151     
- Partials     2358     2361       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@KaloyanTanev KaloyanTanev merged commit 60f4eab into main Apr 24, 2026
13 of 15 checks passed
@KaloyanTanev KaloyanTanev deleted the kalo/release-actions-rc-filtering branch April 24, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants