Part of #715
Depends on the release branch model being adopted first.
Problem
Once release branches exist, cherry-picking fixes from `main` to `vX.Y-test` is a manual process that is easy to forget or do incorrectly.
Solution
Add a GitHub Actions workflow that auto-backports PRs to release branches when a specific label is applied.
How it works
- Maintainer merges a PR to `main`
- Maintainer adds label `backport-to-vX.Y` (e.g. `backport-to-v0.42`)
- Workflow triggers, cherry-picks the merge commit to `vX.Y-test`
- If clean, opens a PR to `vX.Y-test` automatically
- If conflicts, comments on the original PR asking for manual cherry-pick
References
Acceptance criteria
Part of #715
Depends on the release branch model being adopted first.
Problem
Once release branches exist, cherry-picking fixes from `main` to `vX.Y-test` is a manual process that is easy to forget or do incorrectly.
Solution
Add a GitHub Actions workflow that auto-backports PRs to release branches when a specific label is applied.
How it works
References
Acceptance criteria