-
Notifications
You must be signed in to change notification settings - Fork 938
26 lines (24 loc) · 816 Bytes
/
backport.yml
File metadata and controls
26 lines (24 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Backport merged pull request
on:
pull_request_target:
types: [closed]
permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests
jobs:
backport:
name: Backport pull request
runs-on: ubuntu-latest
# Don't run on closed unmerged pull requests
if: github.event.pull_request.merged
steps:
- uses: actions/checkout@v6
- name: Create backport pull requests
uses: korthout/backport-action@v4
with:
target_branches: 5.x
pull_description: |
### Automated backport of #${pull_number} to branch `${target_branch}`.
> **Do not modify this pull request.**
${pull_description}
pull_title: "${pull_title} [Backport #${pull_number} to ${target_branch}]"