Commit 4463fcc
committed
fix(ci): allowlist dummy test key in gitleaks scan
The dummy value `sk-secret-key-1234567890` in test/tools.test.ts trips
gitleaks' default `generic-api-key` rule (entropy 4.02) and fails the
Secret Scan CI job on PR #1. This is a test-only fixture explicitly
endorsed by AGENTS.md ("Tests use dummy values ... sk-secret-key-…"),
not a real key — the value is also asserted by the redaction test at
line 183, so it cannot be changed.
Suppress the single line with a `gitleaks:allow` inline comment rather
than weakening the rule set globally. Verified locally with gitleaks
8.24.3 (matching CI): test/ scans clean, .env (gitignored, real key)
is the only remaining finding and is not tracked.1 parent 17822e7 commit 4463fcc
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments