Skip to content

Commit 2e6a9ec

Browse files
committed
Added backport workflow.
1 parent 81d95ca commit 2e6a9ec

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/backport.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Backport
2+
on:
3+
pull_request_target:
4+
types: [closed, labeled]
5+
permissions:
6+
contents: write
7+
pull-requests: write
8+
jobs:
9+
backport:
10+
name: Backport
11+
runs-on: ubuntu-latest
12+
if: github.event.pull_request.merged == true
13+
steps:
14+
- uses: actions/checkout@v6.0.2
15+
- name: Create backport pull request
16+
uses: korthout/backport-action@v4.3.0
17+
with:
18+
github_token: '${{ secrets.BACKPORT_PAT }}'

0 commit comments

Comments
 (0)