From b6ff6fe7fc0ced6249aea6144de124a910e1bc93 Mon Sep 17 00:00:00 2001 From: Joni Harker Date: Wed, 4 Dec 2024 10:46:03 -0800 Subject: [PATCH] update pre-commit update hook versions and configure automation to run monthly --- .pre-commit-config.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 25f0aec..19df504 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,6 @@ +ci: + autoupdate_schedule: monthly + repos: - repo: https://github.com/awslabs/git-secrets rev: b9e96b3212fa06aea65964ff0d5cda84ce935f38 @@ -6,7 +9,7 @@ repos: entry: git-secrets args: [--scan, --recursive] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: # On Windows, git will convert all CRLF to LF, # but only after all hooks are done executing. @@ -18,20 +21,20 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/adrienverge/yamllint - rev: v1.32.0 + rev: v1.35.1 hooks: - id: yamllint - repo: https://github.com/aws-cloudformation/cfn-python-lint - rev: v0.83.1 + rev: v1.20.2 hooks: - id: cfn-python-lint files: .*/.*\.(json|yml|yaml)$ - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.5.4 + rev: v1.5.5 hooks: - id: remove-tabs - repo: https://github.com/sirosen/check-jsonschema - rev: 0.27.1 + rev: 0.30.0 hooks: - id: check-github-workflows - id: check-github-actions