mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
fix: Run terraform_tfsec only on terraform code changes (#571)
This commit is contained in:
parent
ea0b9e34ed
commit
4253162614
1 changed files with 1 additions and 0 deletions
|
|
@ -90,6 +90,7 @@
|
||||||
description: Static analysis of Terraform templates to spot potential security issues.
|
description: Static analysis of Terraform templates to spot potential security issues.
|
||||||
require_serial: true
|
require_serial: true
|
||||||
entry: hooks/terraform_tfsec.sh
|
entry: hooks/terraform_tfsec.sh
|
||||||
|
files: \.tf(vars)?$
|
||||||
language: script
|
language: script
|
||||||
|
|
||||||
- id: checkov
|
- id: checkov
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue