ci: generated files regenerated on Renovate's branches (renovate-regenerate) #6

Merged
dawid merged 2 commits from ci-regenerate into main 2026-11-15 16:59:59 +00:00
Owner

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-bot with the
shared action renovate-regenerate (dawid/ci-actions). The formatting and the baseline are made
again 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): it
publishes the action and sets this repository's secret REGENERATE_TOKEN. Before that, the
action cannot be fetched and CI fails.

Tested: the PHP steps' scripts on talk-ai's renovate/all-minor-patch in composer:2 (they
rebuilt the Psalm 7.3 baseline from 7.0's, and Psalm passed); the action itself has unit tests in
HomeLab.

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-bot` with the shared action `renovate-regenerate` (dawid/ci-actions). The formatting and the baseline are made again 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`): it publishes the action and sets this repository's secret `REGENERATE_TOKEN`. Before that, the action cannot be fetched and CI fails. Tested: the PHP steps' scripts on talk-ai's `renovate/all-minor-patch` in `composer:2` (they rebuilt the Psalm 7.3 baseline from 7.0's, and Psalm passed); the action itself has unit tests in HomeLab.
ci: generated files regenerated on Renovate's branches (renovate-regenerate)
All checks were successful
CI / php (dev-master) (pull_request) Successful in 22s
CI / php (dev-stable32) (pull_request) Successful in 14s
CI / php (dev-stable33) (pull_request) Successful in 14s
CI / php (dev-stable34) (pull_request) Successful in 14s
CI / php (dev-stable35) (pull_request) Successful in 12s
CI / standards (pull_request) Successful in 25s
CI / server (32) (pull_request) Successful in 1m13s
CI / server (35) (pull_request) Successful in 1m21s
CI / javascript (pull_request) Successful in 10s
d7faf5eebe
ci: the regenerate steps' when instead of their own version comparisons
All checks were successful
CI / php (dev-master) (pull_request) Successful in 14s
CI / php (dev-stable32) (pull_request) Successful in 24s
CI / php (dev-stable33) (pull_request) Successful in 25s
CI / php (dev-stable34) (pull_request) Successful in 22s
CI / php (dev-stable35) (pull_request) Successful in 27s
CI / standards (pull_request) Successful in 29s
CI / javascript (pull_request) Successful in 18s
CI / server (32) (pull_request) Successful in 1m14s
CI / server (35) (pull_request) Successful in 1m19s
b9aae65af9
renovate-regenerate's when runs a step only when the lockfile's change names
the tool, the check the steps made themselves.
dawid merged commit df172c3a7d into main 2026-11-15 16:59:59 +00:00
dawid deleted branch ci-regenerate 2026-11-15 16:59:59 +00:00
Sign in to join this conversation.
No description provided.