Skip to content

Commit e165789

Browse files
committed
[trufflehog] Don't try to update the binary on run
This occasionally prevents commits due to a permissions error. Kind of crazy default behavior imo.
1 parent bed9eee commit e165789

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shallow_backup/git_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def install_trufflehog_git_hook(repo: git.Repo):
149149
- id: trufflehog
150150
name: TruffleHog
151151
description: Detect secrets in your data.
152-
entry: bash -c 'trufflehog git file://. --since-commit HEAD --fail'
152+
entry: bash -c 'trufflehog git file://. --since-commit HEAD --fail --only-verified --no-update'
153153
language: system
154154
stages: ["commit", "push"]
155155
"""

0 commit comments

Comments
 (0)