Skip to content

Commit 33980ce

Browse files
DerManoManngithub-actions[bot]
authored andcommitted
BACKPORT-CONFLICT
1 parent b84c0ca commit 33980ce

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

.github/workflows/backport.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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}"

0 commit comments

Comments
 (0)