File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Backport merged pull request
2+ on :
3+ pull_request_target :
4+ types : [ closed ]
5+ permissions :
6+ contents : write # so it can comment
7+ pull-requests : write # so it can create pull requests
8+ jobs :
9+ backport :
10+ name : Backport pull request
11+ runs-on : ubuntu-latest
12+ # Don't run on closed unmerged pull requests
13+ if : github.event.pull_request.merged
14+ steps :
15+ - uses : actions/checkout@v6
16+ - name : Create backport pull requests
17+ uses : korthout/backport-action@v4
18+ with :
19+ target_branches : 5.x
20+ experimental : ' {
21+ "conflict_resolution": "draft_commit_conflicts"
22+ }'
23+ pull_description : |
24+ ### Automated backport of #${pull_number} to branch `${target_branch}`.
25+
26+ > **Do not modify this pull request.**
27+
28+ ${pull_description}
29+ pull_title : " [Backport #${pull_number} to ${target_branch}] ${pull_title}"
You can’t perform that action at this time.
0 commit comments