Skip to content

Commit 6479c1f

Browse files
committed
[TASK] Migrate backport to shared reusable workflow
1 parent a8ee18f commit 6479c1f

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

.github/workflows/backport.yml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,12 @@
11
name: Backport
2-
32
on:
43
pull_request_target:
5-
types: [closed, labeled]
4+
types:
5+
- closed
6+
- labeled
67

78
jobs:
89
backport:
9-
if: github.event.pull_request.merged == true
10-
runs-on: ubuntu-latest
11-
12-
permissions:
13-
contents: write
14-
pull-requests: write
15-
16-
steps:
17-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v 6.0.2
18-
19-
- name: Backport
20-
uses: korthout/backport-action@4aaf0e03a94ff0a619c9a511b61aeb42adea5b02 # v4.2.0
21-
with:
22-
github_token: ${{ secrets.GITHUB_TOKEN }}
10+
uses: TYPO3-Documentation/.github/.github/workflows/reusable-backport.yml@main
11+
with:
12+
label_pattern: "^backport (.+)$"

0 commit comments

Comments
 (0)