Skip to content

Commit

Permalink
chore: add auto-update schedule for pre-commit (#742)
Browse files Browse the repository at this point in the history
To make sure the pre-commit configuration stays up to date, add auto-update schedule to the pre-commit configuration file.

pre-commit.ci needs to be enable for this (which I highly recommend). When enabled, it will check once a week if any pre-commit action can be updated, and will open a PR if so.
  • Loading branch information
EwoutH committed Aug 23, 2024
1 parent 361b02e commit 5f2da1d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
ci:
autoupdate_schedule: 'weekly'

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand Down

0 comments on commit 5f2da1d

Please sign in to comment.