diff --git a/shallow_backup/git_wrapper.py b/shallow_backup/git_wrapper.py index e94b5719..68f821b0 100644 --- a/shallow_backup/git_wrapper.py +++ b/shallow_backup/git_wrapper.py @@ -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"] """