Skip to content

Commit 5db6168

Browse files
authored
Refactor backport workflow to use reusable template
1 parent 34e72d2 commit 5db6168

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/backport.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ on:
55
- closed
66
- labeled
77

8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
812
jobs:
913
backport:
10-
runs-on: ubuntu-latest
11-
name: Backport
12-
permissions:
13-
contents: write # needed to push the backport branch
14-
pull-requests: write # needed to open the PR
15-
steps:
16-
- name: Backport
17-
uses: m-kuhn/backport@30b6e83906cc97bad3a02867181d6236becf68f9
18-
with:
19-
github_token: ${{ secrets.GITHUB_TOKEN }}
14+
uses: TYPO3-Documentation/.github/.github/workflows/reusable-backport.yml@9d884304b1a5cdeeb2e21349a5bbfe52da5548d5
15+
with:
16+
label_pattern: "^backport (.+)$"
17+
secrets:
18+
APP_ID: ${{ secrets.APP_ID }}
19+
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}

0 commit comments

Comments
 (0)