swadhinbiswas Scrub committed API keys and personal paths; enforce secret scan pre-commit · 8/24/2026
70bd3af
5 lines · 227 Bytes
1
2
3
4
5
#!/bin/bash
# Enforced pre-commit hook: block commits containing secrets or personal paths.
# Activate once per clone:  git config core.hooksPath scripts/githooks
exec "$(git rev-parse --show-toplevel)/scripts/scan-secrets.sh"