Add precommit hook
This commit is contained in:
1 parent
189fb0d767
commit
1b32dff6a4
1 file changed
+9
@@ -0,0 +1,9 @@
|
||||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: trufflehog
|
||||
name: TruffleHog
|
||||
description: Detect secrets in your data.
|
||||
entry: bash -c 'trufflehog git file://. --since-commit HEAD --results=verified,unknown --fail'
|
||||
language: system
|
||||
stages: ["commit", "push"]
|
||||
Reference in new issue
Block a user