Skip to content

Commit dd977d1

Browse files
fix: Disable docker hooks on pre-commit.ci (#5)
1 parent 5aab062 commit dd977d1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@
189189
args: [terraform, fmt]
190190
files: \.(tf|tofu|tfvars|tftest\.hcl|tfmock\.hcl)$
191191
exclude: \.terraform/.*$
192+
default: false
192193

193194
- id: terraform_validate_docker
194195
name: Terraform validate (Docker)
@@ -200,6 +201,7 @@
200201
pass_filenames: false
201202
files: \.(tf|tofu|tfvars|terraform\.lock\.hcl)$
202203
exclude: \.terraform/.*$
204+
default: false
203205

204206
- id: terraform_tflint_docker
205207
name: Terraform validate with tflint (Docker)
@@ -212,6 +214,7 @@
212214
pass_filenames: false
213215
files: \.(tf|tofu|tfvars)$
214216
exclude: \.terraform/.*$
217+
default: false
215218

216219
- id: terraform_docs_docker
217220
name: Terraform docs (Docker)
@@ -224,6 +227,7 @@
224227
pass_filenames: false
225228
files: \.(tf|tofu|terraform\.lock\.hcl)$
226229
exclude: \.terraform/.*$
230+
default: false
227231

228232
- id: terraform_checkov_docker
229233
name: Checkov (Docker)
@@ -236,6 +240,7 @@
236240
files: \.(tf|tofu)$
237241
exclude: \.terraform/.*$
238242
require_serial: true
243+
default: false
239244

240245
- id: terraform_trivy_docker
241246
name: Terraform validate with trivy (Docker)
@@ -249,6 +254,7 @@
249254
pass_filenames: false
250255
files: \.(tf|tofu|tfvars)$
251256
exclude: \.terraform/.*$
257+
default: false
252258

253259
- id: infracost_breakdown_docker
254260
name: Infracost breakdown (Docker)
@@ -260,3 +266,4 @@
260266
require_serial: true
261267
files: \.(tf|tofu|tfvars|hcl)$
262268
exclude: \.terraform/.*$
269+
default: false

0 commit comments

Comments
 (0)