Skip to content

Commit 39233db

Browse files
committed
Add pass_filenames false to all remaining Docker hooks
1 parent 6fa9530 commit 39233db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@
230230
entry: ghcr.io/actuarysailor/pre-commit-terraform-tools:latest
231231
language: docker_image
232232
args: [checkov, -d, .]
233+
pass_filenames: false
233234
always_run: false
234235
files: \.(tf|tofu)$
235236
exclude: \.terraform/.*$
@@ -243,6 +244,7 @@
243244
entry: ghcr.io/actuarysailor/pre-commit-terraform-tools:latest
244245
language: docker_image
245246
args: [trivy, config, .]
247+
pass_filenames: false
246248
files: \.(tf|tofu|tfvars)$
247249
exclude: \.terraform/.*$
248250

@@ -252,6 +254,7 @@
252254
entry: ghcr.io/actuarysailor/pre-commit-terraform-tools:latest
253255
language: docker_image
254256
args: [infracost, breakdown, --path, .]
257+
pass_filenames: false
255258
require_serial: true
256259
files: \.(tf|tofu|tfvars|hcl)$
257260
exclude: \.terraform/.*$

0 commit comments

Comments
 (0)