Skip to content

Commit d545063

Browse files
authored
Update PreCommit.md (#4112)
hook id `trufflehog` uses deprecated stage names (commit, push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this.
1 parent 1a1c56d commit d545063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PreCommit.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ repos:
9797
description: Detect secrets in your data.
9898
entry: bash -c 'trufflehog git file://. --since-commit HEAD --results=verified,unknown --fail'
9999
language: system
100-
stages: ["commit", "push"]
100+
stages: ["pre-commit", "pre-push"]
101101
```
102102
103103
2. Install the pre-commit hook:

0 commit comments

Comments
 (0)