From d384e5269c9711cf4375278ac26ca8c108344bc7 Mon Sep 17 00:00:00 2001 From: "Felt, Nicholas" Date: Wed, 28 Aug 2024 10:52:35 -0700 Subject: [PATCH] ci: Update pre-commit hook to run properly without needing docker installed --- .pre-commit-config.yaml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b80029da..dd5597a0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,12 +4,7 @@ default_stages: [pre-commit] ci: autofix_prs: false autoupdate_schedule: quarterly - skip: - - check-poetry - - pyright - - poetry-audit - - markdown-link-check - - actionlint-docker + skip: [check-poetry, pyright, poetry-audit, markdown-link-check] repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0 @@ -43,10 +38,11 @@ repos: - id: check-github-workflows args: [--verbose] files: ^(\.github/workflows/[^/]+|workflows/[^/]+)$ - - repo: https://github.com/rhysd/actionlint - rev: v1.7.1 + - repo: https://github.com/Mateusz-Grzelinski/actionlint-py + rev: c01fb5723b54075325cd9b5e5665a9ae84baf950 # frozen: v1.7.1.15 hooks: - - id: actionlint-docker + - id: actionlint + additional_dependencies: [pyflakes, shellcheck-py] - repo: https://github.com/commitizen-tools/commitizen rev: d7e01aa9b0cfe3c1b732e66d523bbd0656221127 # frozen: v3.29.0 hooks: