From e9046c342955365d15f28c83954d904a0f98014e Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 22 Jan 2025 16:13:04 -0600 Subject: [PATCH] Commit2 --- .pre-commit-config.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1c3bd06f..e0cd47fd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -76,9 +76,10 @@ repos: hooks: - id: hadolint name: Lint Dockerfiles - entry: bash -c "docker run --rm -i hadolint/hadolint < /dev/stdin" + entry: bash -c 'if [ -z "$CI" ]; then docker run --rm -i hadolint/hadolint hadolint -- -; fi' language: system types: [dockerfile] + pass_filenames: false ci: autoupdate_schedule: weekly