You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue provides a complete guide through the shared reusable workflows initiative for the TYPO3 Documentation organization. It consolidates all related PRs, issues, decisions, and action items in one place.
Goal: Centralize GitHub Actions workflows in TYPO3-Documentation/.github so that ~29 documentation repositories share a single maintained set of CI/CD workflows instead of each maintaining their own inline copies.
[TASK] Add ADR-003: Versioning strategy for shared workflow references #6 — ADR-003: Versioning strategy for workflow references (@main vs @tag vs @SHA). Requesting maintainer feedback. Current PRs use @main; the already-merged GettingStarted backport uses @SHA. The ADR recommends @main to avoid reintroducing per-repo maintenance burden.
[TASK] Migrate remaining repos to shared reusable workflows #5 — Tracking issue for migrating the remaining 6 repos (TCA, Typoscript, ViewHelper, SitePackage, FrontendLocalization, blog_example). To be done after the initial batch is proven stable.
Available Shared Workflows
After #2 is merged, the repository provides 7 reusable workflows:
Overview
This issue provides a complete guide through the shared reusable workflows initiative for the TYPO3 Documentation organization. It consolidates all related PRs, issues, decisions, and action items in one place.
Goal: Centralize GitHub Actions workflows in TYPO3-Documentation/.github so that ~29 documentation repositories share a single maintained set of CI/CD workflows instead of each maintaining their own inline copies.
Background: The initiative started with TYPO3-Documentation/TYPO3CMS-Reference-CoreApi#6414 after the broken m-kuhn/backport@30b6e83 action (missing
dist/index.js) required individual fixes across repos.Workflows were initially placed in t3docs-ci-deploy (TYPO3-Documentation/t3docs-ci-deploy#56), then moved to
.githubper suggestion by @jaapio, implemented by @linawolf.cc: @linawolf @garvinhicking @jaapio
Merge Checklist
PRs should be reviewed and merged in this order:
Phase 1: Foundation (
.githubrepo)[BUGFIX] Fix backport label_pattern default to use regex with capture group #4 —
Fix
reusable-backport.ymldefaultlabel_patternfrom glob (backport *) to regex with capture group (^backport ([^ ]+)$).korthout/backport-actionrequires a regex to extract the target branch.Merge first — fixes a bug on
main.[TASK] Add reusable workflows for documentation testing, pre-commit, and PHP commands #2 —
Add three new reusable workflows:
reusable-test-documentation.yml— Docker-based documentation rendering testreusable-apply-precommit.yml— Scheduled pre-commit whitespace fixes with auto-PRreusable-php-command.yml— Generic PHP + Composer + run command[TASK] Add concise README with workflow status #3 —
Documentation and architecture decisions:
README.mddocumenting all 7 workflows/Documentation.githubrepo overt3docs-ci-deployPhase 2: Consumer repos (after Phase 1)
These can be merged in any order once Phase 1 is complete:
[TASK] Migrate backport to shared reusable workflow TYPO3CMS-Reference-CoreApi#6414 —
Migrate
backport.ymlto shared workflow.Depends on: [BUGFIX] Fix backport label_pattern default to use regex with capture group #4
[TASK] Migrate backport and documentation workflows to shared reusable workflows TYPO3CMS-Tutorial-Editors#258 —
Migrate
backport.yml+documentation.ymlto shared workflows.Depends on: [BUGFIX] Fix backport label_pattern default to use regex with capture group #4, [TASK] Add reusable workflows for documentation testing, pre-commit, and PHP commands #2
[TASK] Migrate CI to shared reusable workflows render-guides#1196 —
Migrate all 6 CI jobs in
main.yamlto shared workflows (tests, quality, composer-normalize, test-docs, test-rendertest, validate-monorepo).Note: PHP 8.1 intentionally dropped from test matrix (see also [TASK] Raise minimum PHP to 8.2, update DDEV to PHP 8.2 and Node.js 20 render-guides#1183).
Depends on: [TASK] Add reusable workflows for documentation testing, pre-commit, and PHP commands #2
[TASK] Migrate workflows to shared reusable workflows from .github TYPO3CMS-Tutorial-GettingStarted#792 —
Migrate
test-documentation.yml+apply-precommit.ymlto shared workflows.backport.ymlwas already migrated by @linawolf.Depends on: [TASK] Add reusable workflows for documentation testing, pre-commit, and PHP commands #2
Phase 3: Strategy & future work
[TASK] Add ADR-003: Versioning strategy for shared workflow references #6 — ADR-003: Versioning strategy for workflow references (
@mainvs@tagvs@SHA). Requesting maintainer feedback. Current PRs use@main; the already-merged GettingStarted backport uses@SHA. The ADR recommends@mainto avoid reintroducing per-repo maintenance burden.[TASK] Migrate remaining repos to shared reusable workflows #5 — Tracking issue for migrating the remaining 6 repos (TCA, Typoscript, ViewHelper, SitePackage, FrontendLocalization, blog_example). To be done after the initial batch is proven stable.
Available Shared Workflows
After #2 is merged, the repository provides 7 reusable workflows:
mainreusable-backport.ymlreusable-docs-render.ymlreusable-php-quality.ymlreusable-php-tests.ymlreusable-test-documentation.ymlreusable-apply-precommit.ymlreusable-php-command.ymlKey Decisions
.githubrepo (nott3docs-ci-deploy)@main(not@SHA)Related PRs (not part of this initiative but relevant)
ramsey/composer-installto fix allow-list (interim fix, by @CybotTM).githubrepo)Questions for maintainers
@mainvs@tagvs@SHAdecision.mainaffects all consumers?