mirror of
https://github.com/trufflesecurity/trufflehog.git
synced 2024-11-10 07:04:24 +00:00
Add pre-commit yml config (#1138)
* Add pre-commit yml config. * Add --fail flag.
This commit is contained in:
parent
64c163cd90
commit
86370333ec
1 changed files with 6 additions and 0 deletions
6
.pre-commit-hooks.yml
Normal file
6
.pre-commit-hooks.yml
Normal 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
|
Loading…
Reference in a new issue