Skip to content

Commit a87166b

Browse files
author
Varun Chandak
committed
Add .pre-commit-config.yaml
1 parent 26a9060 commit a87166b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: trufflehog
5+
name: TruffleHog
6+
description: Detect secrets in your data.
7+
entry: bash -c 'trufflehog git file://. --since-commit HEAD --only-verified --fail'
8+
language: system
9+
stages: ["commit", "push"]

0 commit comments

Comments
 (0)