dsmiley opened a new pull request, #4228: URL: https://github.com/apache/solr/pull/4228
Adds automated PR backporting via [sorenlouv/backport-github-action](https://github.com/marketplace/actions/backport-action) to streamline cherry-picking merged PRs onto maintenance branches. ## Changes - **`.github/workflows/backport.yml`** — Workflow triggered on `pull_request_target` (`labeled`/`closed`). Runs only on merged PRs that don't carry the `backport` label (prevents re-backporting auto-created backport PRs). Requires `contents: write` and `pull-requests: write` permissions. - **`.backportrc.json`** — Configures available target branches and the label-to-branch mapping: ```json { "targetBranchChoices": ["branch_10x", "branch_9x"], "branchLabelMapping": { "^backport-to-(.+)$": "$1" } } ``` ## Usage Apply a label to a PR before or after merging: | Label | Target branch | |---|---| | `backport-to-branch_10x` | `branch_10x` | | `backport-to-branch_9x` | `branch_9x` | On merge, the action opens a new PR with the cherry-picked commit(s) against the target branch. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
