feat: refactor sgclaw around zeroclaw compat runtime
This commit is contained in:
8
third_party/zeroclaw/.githooks/pre-commit
vendored
Executable file
8
third_party/zeroclaw/.githooks/pre-commit
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
if command -v gitleaks >/dev/null 2>&1; then
|
||||
gitleaks protect --staged --redact
|
||||
else
|
||||
echo "warning: gitleaks not found; skipping staged secret scan" >&2
|
||||
fi
|
||||
Reference in New Issue
Block a user