diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-19 07:54:47 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-19 07:54:47 -0500 |
| commit | c3b0057b4438ed3080b80fe0c8611683138c1bd5 (patch) | |
| tree | 446c3f2bb8f2ac235d845aa5ea56cfbfbec4ff0c /.gitignore | |
| parent | e6a87bffca9d44ec180f7a17f6891de8f4bfccec (diff) | |
| download | dotemacs-c3b0057b4438ed3080b80fe0c8611683138c1bd5.tar.gz dotemacs-c3b0057b4438ed3080b80fe0c8611683138c1bd5.zip | |
chore(hooks): add tracked pre-commit hook via githooks/
Portable setup: pre-commit lives in githooks/ (tracked), activated
by `make install-hooks` which sets core.hooksPath. Survives fresh
clones.
The hook does two things on staged changes:
- Scans added lines for common credential patterns (AWS keys, sk-*
tokens, BEGIN PRIVATE KEY blocks, api_key/password literals)
- Runs check-parens on staged .el files
Bypass with `git commit --no-verify` for confirmed false positives.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
