aboutsummaryrefslogtreecommitdiffstats
path: root/pre-commit
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-07-07 07:59:59 +0000
committerterminaldweller <thabogre@gmail.com>2022-07-07 07:59:59 +0000
commitfa1ad03ddfa37aaaa6f9aac6027d7227b070b083 (patch)
treee5ffa41ab1e75c59641454c6ca27b6c3f05427d5 /pre-commit
parentInitial commit (diff)
downloaddevi-githooks-fa1ad03ddfa37aaaa6f9aac6027d7227b070b083.tar.gz
devi-githooks-fa1ad03ddfa37aaaa6f9aac6027d7227b070b083.zip
pre-commit hook for secret checksHEADmain
Diffstat (limited to '')
-rwxr-xr-xpre-commit3
1 files changed, 3 insertions, 0 deletions
diff --git a/pre-commit b/pre-commit
new file mode 100755
index 0000000..3284e4d
--- /dev/null
+++ b/pre-commit
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+git ls-files -z | xargs -0 detect-secrets-hook --baseline .secrets.baseline