Skip to content

Commit

Permalink
[trufflehog] Don't try to update the binary on run
Browse files Browse the repository at this point in the history
This occasionally prevents commits due to a permissions error. Kind of
crazy default behavior imo.
  • Loading branch information
alichtman committed Jul 12, 2024
1 parent bed9eee commit e165789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shallow_backup/git_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def install_trufflehog_git_hook(repo: git.Repo):
- id: trufflehog
name: TruffleHog
description: Detect secrets in your data.
entry: bash -c 'trufflehog git file://. --since-commit HEAD --fail'
entry: bash -c 'trufflehog git file://. --since-commit HEAD --fail --only-verified --no-update'
language: system
stages: ["commit", "push"]
"""
Expand Down

0 comments on commit e165789

Please sign in to comment.