Add pre-commit yml config (#1138)

* Add pre-commit yml config.

* Add --fail flag.
This commit is contained in:
ahrav 2023-02-28 11:31:24 -08:00 committed by GitHub
parent 64c163cd90
commit 86370333ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
.pre-commit-hooks.yml Normal file
View file

@ -0,0 +1,6 @@
- id: trufflehog
name: TruffleHog
description: Detect secrets in your data with TruffleHog.
entry: trufflehog git file://. --since-commit HEAD --only-verified --fail
language: golang
pass_filenames: false