Skip to content

Commit

Permalink
fix: avoid passing filenames to pre-commit hook (#1389)
Browse files Browse the repository at this point in the history
Add pass_filenames: false to pre-commit
  • Loading branch information
yajo authored Jan 26, 2022
1 parent d383ce7 commit 5fcc480
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
description: TFsec is a tool to statically analyze Terraform templates to spot potential security issues.
language: golang
entry: tfsec
types: [terraform]
pass_filenames: false

- id: tfsec-docker
name: TFSec Docker
description: TFsec is a tool to statically analyze Terraform templates to spot potential security issues, uses projects official docker image.
language: docker_image
entry: aquasec/tfsec-alpine
types: [terraform]
pass_filenames: false

- id: tfsec-system
name: TFSec system
description: TFsec is a tool to statically analyze Terraform templates to spot potential security issues, uses systems installed tfsec.
language: system
entry: tfsec
types: [terraform]
pass_filenames: false

0 comments on commit 5fcc480

Please sign in to comment.