diff --git a/PreCommit.md b/PreCommit.md index be0925e59679..4811e25e60bc 100644 --- a/PreCommit.md +++ b/PreCommit.md @@ -97,7 +97,7 @@ repos: description: Detect secrets in your data. entry: bash -c 'trufflehog git file://. --since-commit HEAD --results=verified,unknown --fail' language: system - stages: ["commit", "push"] + stages: ["pre-commit", "pre-push"] ``` 2. Install the pre-commit hook: