Skip to content

Commit 025eb61

Browse files
committed
[TASK] Migrate backport to shared reusable workflow
Replace the inline backport workflow with a call to the shared reusable workflow in TYPO3-Documentation/t3docs-ci-deploy. Reduces 17 lines of per-repo configuration to 4 lines, providing a single maintenance point for action versions and consistent behavior across all repos.
1 parent 5973323 commit 025eb61

File tree

1 file changed

+3
-14
lines changed

1 file changed

+3
-14
lines changed

.github/workflows/backport.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,6 @@ on:
66

77
jobs:
88
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 }}
9+
uses: TYPO3-Documentation/t3docs-ci-deploy/.github/workflows/reusable-backport.yml@main
10+
with:
11+
label-pattern: "backport *"

0 commit comments

Comments
 (0)