From 5f2da1d8cd4b7b31b0acd08ecac473254ac061e5 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Fri, 23 Aug 2024 16:22:08 +0200 Subject: [PATCH] chore: add auto-update schedule for pre-commit (#742) 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. --- .pre-commit-config.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bfcb0c7aa..93785056b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,6 @@ +ci: + autoupdate_schedule: 'weekly' + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0