diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 002df1f2d..67bf463e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -59,7 +59,7 @@ repos: rev: a05cf0859455b5b16317ee22d809887a4043cdf0 # frozen: v3.90.2 hooks: - id: trufflehog - entry: trufflehog git file://. --since-commit HEAD --no-verification --fail + entry: trufflehog git file://. --since-commit HEAD --max-depth=1 --no-verification --fail # Running some C++ hooks before clang-format # to ensure that the style is consistent.