We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4942fa commit 9034ba8Copy full SHA for 9034ba8
.husky/pre-commit
@@ -7,4 +7,6 @@ pnpm eslint $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g'
7
git update-index --again
8
9
# check for secrets
10
-trufflehog git file://. --since-commit HEAD --fail
+if [ -z "$CI" ] && [ -z "$GITHUB_ACTIONS" ]; then
11
+ trufflehog git file://. --since-commit HEAD --fail
12
+fi
0 commit comments