ci: generated files regenerated on Renovate's branches (renovate-regenerate) #6
Loading…
Reference in a new issue
No description provided.
Delete branch "ci-regenerate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On Renovate's branches, CI now regenerates the code as a new php-cs-fixer formats it and Psalm's baseline as a new Psalm records it (standards job), and commits it as
regenerate-botwith theshared action
renovate-regenerate(dawid/ci-actions). The formatting and the baseline are madeagain only when the branch changes that tool's own version, so a dependency's real findings still
fail. Renovate counts the bot's commits as its own.
Merge after HomeLab #121 is deployed (
configure.yml --limit forge --tags forgejo): itpublishes the action and sets this repository's secret
REGENERATE_TOKEN. Before that, theaction cannot be fetched and CI fails.
Tested: the PHP steps' scripts on talk-ai's
renovate/all-minor-patchincomposer:2(theyrebuilt the Psalm 7.3 baseline from 7.0's, and Psalm passed); the action itself has unit tests in
HomeLab.