Skip to content

Make pre-commit autoupdate PRs monthly instead of weekly#12040

Merged
RayBB merged 1 commit intomasterfrom
precommit-autoupdate-monthly
Mar 7, 2026
Merged

Make pre-commit autoupdate PRs monthly instead of weekly#12040
RayBB merged 1 commit intomasterfrom
precommit-autoupdate-monthly

Conversation

@cdrini
Copy link
Copy Markdown
Collaborator

@cdrini cdrini commented Mar 7, 2026

Small config change. Updates to pre-commit tend to cause pre-commit to be much slower during its next run, since it needs to load the latest versions. We don't need to be bleeding edge, so monthly seems like a better setting than weekly to allow us to stay up-to-date, without the unnecessary reviews/slow pre-commit runs.

See docs here: https://pre-commit.ci/#configuration-autoupdate_schedule

Technical

Testing

Screenshot

Stakeholders

Updates to pre-commit tend to cause pre-commit to be much slower during its next run, since it needs to load the latest versions. We don't need to be bleeding edge, so monthly seems like a better setting than weekly to allow us to stay up-to-date, without the unnecessary reviews/slow pre-commit runs.
Copilot AI review requested due to automatic review settings March 7, 2026 20:17
@github-project-automation github-project-automation bot moved this to Waiting Review/Merge from Staff in Ray's Project Mar 7, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the repository’s pre-commit.ci configuration to reduce the frequency of automated pre-commit autoupdate PRs, aligning maintenance noise and occasional first-run slowness with a more relaxed update cadence.

Changes:

  • Set ci.autoupdate_schedule to monthly in .pre-commit-config.yaml.

@RayBB
Copy link
Copy Markdown
Collaborator

RayBB commented Mar 7, 2026

Excellent idea

@RayBB RayBB merged commit adadc99 into master Mar 7, 2026
12 checks passed
@github-project-automation github-project-automation bot moved this from Waiting Review/Merge from Staff to Done in Ray's Project Mar 7, 2026
@RayBB RayBB deleted the precommit-autoupdate-monthly branch March 7, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants