Centralised git hooks for CircuitForge repos — gitleaks secret + PII scanning
Find a file
pyr0ball d8fb9eb5f6 fix(hooks): quote CONFIG_ARG, guard pre-push against empty repos
- Quote $CONFIG_ARG in pre-commit and pre-push to prevent word-splitting
  on paths with spaces or special characters
- Add `git rev-parse HEAD` guard in pre-push so gitleaks is skipped on
  repos with no commits yet (gitleaks git exits non-zero on empty history)
- Expand pre-push header comment to document the empty-repo skip and note
  the full-history scan tradeoff for large repos
2026-03-07 12:40:35 -08:00
hooks fix(hooks): quote CONFIG_ARG, guard pre-push against empty repos 2026-03-07 12:40:35 -08:00
gitleaks.toml feat: add shared gitleaks config with CF secret + PII rules 2026-03-07 12:33:46 -08:00
install.sh feat: add install.sh for one-command hook activation 2026-03-07 12:36:18 -08:00