Skip to content

👷 ci: run every hook under the cooldown - #305

Merged
gaborbernat merged 1 commit into
mainfrom
cooled-hooks
Nov 6, 2026
Merged

gaborbernat merged 1 commit into
mainfrom
cooled-hooks

Conversation

@gaborbernat

Copy link
Copy Markdown
Collaborator

A pull request could merge green and still break the scheduled maintenance pull requests. pre-commit.ci builds hook environments from the newest releases, while the maintenance jobs build them with packages from the last seven days held back, so a hook bumped to a younger release, or one that rewrites files when built fresh, only fails there. 🧹

The required gate now runs every hook over the whole tree under that cutoff, through the shared cooled-hooks workflow added in github-workflows 6.7.0, so the pull request fails instead. Release preparation moves to the same 6.7.0 pin.

pre-commit.ci builds hook environments from the newest releases; the
scheduled maintenance pull requests build them under the seven-day
cutoff, so a young hook or one that rewrites files on a cold build passed
its pull request and failed those jobs. The gate now runs the shared
cooled-hooks workflow.
@gaborbernat gaborbernat added the skip news PR does not need a changelog entry label Nov 6, 2026
@gaborbernat
gaborbernat merged commit cec2461 into main Nov 6, 2026
20 checks passed
@gaborbernat
gaborbernat deleted the cooled-hooks branch November 6, 2026 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news PR does not need a changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant