ayagmar opened a new pull request, #14738: URL: https://github.com/apache/lucene/pull/14738
Add GitHub Actions workflow for automatic PR backporting with intelligent branch detection, conflict handling, and comprehensive error reporting. Supports multiple branch naming patterns and provides detailed feedback via comments. ### ๐ง Requirements Enable "Allow GitHub Actions to create and approve pull requests" in repository settings is enabled ### ๐ Usage 1. Add backport labels to your PR (e.g., `backport/v1.0`, `backport/13.1`) 2. Merge the PR 3. Workflow automatically creates backport PRs to target branches 4. Review and merge the generated backport PRs ### ๐ท๏ธ Supported Label Format - `backport/1.0` โ looks for `branch_1_0`, `release/1.0`, `v1.0`, etc. - `backport/13.1` โ looks for `branch_13_1`, `release/13.1`, `v13.1`, etc. - Case-insensitive: `Backport/` also works ### ๐งช Testing : Tested with multiple scenarios: - โ Single successful backport - โ Multiple backports (mixed success/failure) - โ Missing target branches (graceful failure) - โ Cherry-pick conflicts (manual resolution guide) - โ Duplicate PR detection Created A pull request to main, with two labels. backport/existing_branch and backport/branch_does_not_exist  PR is created to the existing branch  Comment is added on main PR to specify one branch was not found Logs  -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org