From e4d0c1ca48311ad35cb478f644933610e7c116a1 Mon Sep 17 00:00:00 2001 From: Alex Kremer Date: Thu, 7 Aug 2025 16:01:38 +0100 Subject: [PATCH] chore: Update trufflehog max depth (#2405) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.