We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9046c3 commit 10f7d79Copy full SHA for 10f7d79
.pre-commit-config.yaml
@@ -76,11 +76,12 @@ repos:
76
hooks:
77
- id: hadolint
78
name: Lint Dockerfiles
79
- entry: bash -c 'if [ -z "$CI" ]; then docker run --rm -i hadolint/hadolint hadolint -- -; fi'
+ entry: bash -c 'if [ -z "$PRE_COMMIT_HOME" ]; then docker run --rm -i hadolint/hadolint hadolint -- -; else echo "Skipping Docker-based hadolint on pre-commit.ci"; exit 0; fi'
80
language: system
81
types: [dockerfile]
82
pass_filenames: false
83
84
+
85
ci:
86
autoupdate_schedule: weekly
87
skip: []
0 commit comments