Skip to content

[TASK] Migrate workflows to shared reusable workflows from .github#792

Merged
linawolf merged 1 commit into
TYPO3-Documentation:mainfrom
CybotTM:task/migrate-to-shared-workflows
Mar 23, 2026
Merged

[TASK] Migrate workflows to shared reusable workflows from .github#792
linawolf merged 1 commit into
TYPO3-Documentation:mainfrom
CybotTM:task/migrate-to-shared-workflows

Conversation

@CybotTM

@CybotTM CybotTM commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Migrates test-documentation.yml and apply-precommit.yml to use the shared
reusable workflows from TYPO3-Documentation/.github.

The backport.yml was already migrated. The tests.yml remains repo-specific
as it uses Build/Scripts/runTests.sh.

Changes

Workflow Before After
test-documentation.yml 15 lines inline (Docker) Shared reusable-test-documentation.yml (8 lines)
apply-precommit.yml 60 lines inline Shared reusable-apply-precommit.yml (12 lines)
backport.yml Already shared No change
tests.yml Repo-specific No change

Benefits

  • Single point of maintenance — action version updates happen centrally
  • Consistent behavior — all documentation repos render-test the same way
  • Less boilerplate — ~70 lines reduced to ~20 lines across two workflows

Dependencies and merge order

  • Depends on .github#2 (adds reusable-test-documentation.yml and reusable-apply-precommit.yml)

@linawolf

Copy link
Copy Markdown
Member

Before we start changing other workflows that are currently working I really need to get the backport workflow to working again. and it currently does not work. can you fix the backport workflow in this repository first please?

@CybotTM
CybotTM marked this pull request as ready for review March 22, 2026 09:43
@CybotTM
CybotTM force-pushed the task/migrate-to-shared-workflows branch from f204a5e to 5bade1b Compare March 22, 2026 10:02

@linawolf linawolf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let us try this out, we can always roll back

@linawolf
linawolf merged commit 6a4b690 into TYPO3-Documentation:main Mar 23, 2026
7 checks passed
@typo3-docs-backport-bot

Copy link
Copy Markdown

Backport failed for 12.4, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 12.4
git worktree add -d .worktree/backport-792-to-12.4 origin/12.4
cd .worktree/backport-792-to-12.4
git switch --create backport-792-to-12.4
git cherry-pick -x 6a4b690b8be86d407be4fc7c21b9d69d91abb1ab

github-actions Bot pushed a commit that referenced this pull request Mar 23, 2026
@typo3-docs-backport-bot

Copy link
Copy Markdown

Successfully created backport PR for 13.4:

linawolf pushed a commit that referenced this pull request Mar 23, 2026
) (#802)

(cherry picked from commit 6a4b690)

Co-authored-by: Sebastian Mendel <info@sebastianmendel.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants