Skip to content

Commit fe0811e

Browse files
committed
pre-commit: run trufflehog only on pre-push
1 parent b2a6fe4 commit fe0811e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,4 @@ repos:
116116
# entry: bash -c 'trufflehog --no-update git file://. --since-commit HEAD --results=verified,unknown --fail'
117117
entry: bash -c 'docker run --rm -v "$(pwd):/workdir" -i --rm trufflesecurity/trufflehog:latest git file:///workdir --since-commit HEAD --results=verified,unknown --fail'
118118
language: system
119-
stages: ["pre-commit", "pre-push"]
119+
stages: ["pre-push"]

0 commit comments

Comments
 (0)