Skip to content

Commit 710cda8

Browse files
committed
[TASK] Migrate backport and documentation workflows to shared reusable workflows
1 parent 277accf commit 710cda8

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

.github/workflows/backport.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ permissions:
1111

1212
jobs:
1313
backport:
14-
uses: TYPO3-Documentation/.github/.github/workflows/reusable-backport.yml@9d884304b1a5cdeeb2e21349a5bbfe52da5548d5
14+
uses: TYPO3-Documentation/.github/.github/workflows/reusable-backport.yml@main
1515
with:
1616
label_pattern: "^backport (.+)$"
17-
secrets:
18-
APP_ID: ${{ secrets.APP_ID }}
19-
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
name: Test documentation
22

3-
on: [ push, pull_request ]
3+
on:
4+
push:
5+
pull_request:
46

57
jobs:
6-
tests:
7-
name: Render documentation
8-
runs-on: ubuntu-latest
9-
steps:
10-
- name: Checkout
11-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
12-
13-
- name: Test if the documentation will render without warnings
14-
run: |
15-
mkdir -p Documentation-GENERATED-temp \
16-
&& docker run --rm --pull always -v $(pwd):/project \
17-
ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --no-progress --minimal-test
8+
render:
9+
uses: TYPO3-Documentation/.github/.github/workflows/reusable-test-documentation.yml@main
10+
with:
11+
render-flags: '--no-progress --minimal-test'

0 commit comments

Comments
 (0)