Skip to content

[TASK] Add pre-commit configuration and track the workflow on main - #420

Merged
linawolf merged 1 commit into
mainfrom
task/precommit-track-main
Sep 8, 2026
Merged

linawolf merged 1 commit into
mainfrom
task/precommit-track-main

Conversation

@linawolf

@linawolf linawolf commented Sep 8, 2026

Copy link
Copy Markdown
Member

Adds the .pre-commit-config.yaml the other TYPO3 documentation manuals
already use, so trailing whitespace and missing end-of-file newlines are
caught before they reach a commit. Without it the scheduled workflow had
nothing to apply.

The workflow itself was pinned to 6cdf90e, which predates 559a564 in
TYPO3-Documentation/.github. Most repositories in the organization already
track main, so this brings it in line.

Only the configuration is changed here; existing files are not reformatted.

Assisted-by: Claude Sonnet 5 noreply@anthropic.com
Signed-off-by: Lina Wolf

Adds the .pre-commit-config.yaml the other TYPO3 documentation manuals
already use, so trailing whitespace and missing end-of-file newlines are
caught before they reach a commit. Without it the scheduled workflow had
nothing to apply.

The workflow itself was pinned to 6cdf90e, which predates 559a564 in
TYPO3-Documentation/.github. Most repositories in the organization already
track main, so this brings it in line.

Only the configuration is changed here; existing files are not reformatted.

Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>
Signed-off-by: Lina Wolf
@linawolf
linawolf merged commit 8b992ad into main Sep 8, 2026
2 checks passed
@linawolf
linawolf deleted the task/precommit-track-main branch September 8, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant