Skip to content

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

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
Member

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 requested a review from ofek as a code owner November 6, 2026 22:28
@gaborbernat gaborbernat added the skip news No news fragment needed label Nov 6, 2026
@gaborbernat
gaborbernat merged commit 3977ebe into main Nov 6, 2026
40 checks passed
@gaborbernat
gaborbernat deleted the cooled-hooks branch November 6, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news No news fragment needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant