Repository navigation
Add release branch cherry-pick report GHA workflow - #338
Merged
Merged
Conversation
Manually-triggered workflow that lists, per release branch, which commits are missing from main, intentionally patch-only, or already upstream. Report-only — uses git cherry (patch-id) plus -x trace as fallback, with an optional allowlist at release-policy/<branch>.patch-only.
Contributor
Author
|
Verified locally with brew install act
act workflow_dispatch \
-W .github/workflows/release-cherry-pick-report.yml \
--input release_branch=0.4.x \
--container-architecture linux/amd64 \
-P ubuntu-latest=catthehacker/ubuntu:act-latest |
Contributor
Author
|
Merging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
For each release branch (e.g.
0.4.x), report which commits on that branch are missing frommain(the trunk). Each commit is bucketed as already upstream onmain, intentionally patch-only, or needs decision. Report-only — a CI gate would false-positive on legitimate patch-only commits.Changes
.github/workflows/release-cherry-pick-report.yml—workflow_dispatchonly.git cherry origin/main origin/<branch>(patch-id) +(cherry picked from commit XXX)trace; allowlist atrelease-policy/<branch>.patch-only.How to Test
Actions → "Release branch cherry-pick report" → Run workflow (input empty to scan all
*.x, or0.4.xfor single).AI Assistance