diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c01e1d9..770cbfc2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -80,9 +80,9 @@ repos: - id: trufflehog name: TruffleHog description: Detect secrets in your data. - # entry: bash -c 'trufflehog git file://. --only-verified --fail' + entry: bash -c 'trufflehog --no-update git file://. --only-verified --fail' # For running trufflehog in docker, use the following entry instead: - entry: bash -c 'docker run -v "$(pwd):/workdir" -i --rm trufflesecurity/trufflehog:latest git file:///workdir --only-verified --fail' + # entry: bash -c 'docker run -v "$(pwd):/workdir" -i --rm trufflesecurity/trufflehog:latest git file:///workdir --only-verified --fail' language: system stages: ["commit", "push"]