aboutsummaryrefslogtreecommitdiffstats
path: root/pre-commit
diff options
context:
space:
mode:
Diffstat (limited to 'pre-commit')
-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