Repository navigation
Commit dc81a9f
chore(pre-commit): scope the private-key hook exclusion and drop the dead gitleaks ignore (#2218)
The detect-private-key hook skipped every *_test.go file and a frontend
path that does not exist in this repo, so a real key committed in any
test file went unchecked. Exclude only the two files that embed
PEM-shaped dummy keys (cmd/configure_test.go, cmd/configure_gcp_test.go),
found by running the hook with no exclude.
.gitleaksignore is removed: nothing here runs gitleaks and its only
entry points at a file that does not exist in this repo.
Closes #448
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>1 parent 15a4e8b commit dc81a9f
2 files changed
Lines changed: 2 additions & 8 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 51 | + | |
| 52 | + | |
56 | 53 | | |
57 | 54 | | |
58 | 55 | | |
| |||
0 commit comments