Commit a5508f2
committed
fix(ci): stop .hypatia-ignore tripping its own secret scanner
The suppression comments added in #43 quoted the literal fixture strings
they were documenting (PASSWORD=…, API_KEY=…). `.hypatia-ignore` is not in
Hypatia's @universal_excludes, so the scanner reads the file and flagged
those quotes as two new `secret_detected` criticals (lines 15/17) — which
also turned the gating Hypatia code-scanning check red on main.
Describe the fixtures generically instead of quoting them, and add
`security_errors/secret_detected:.hypatia-ignore` so the suppression file
exempts itself (its comments necessarily name secret-detection rules and
paths). Verified against the scanner source: no assignment-style trigger
patterns remain, and the self-exemption matches .hypatia-ignore while the
seven real suppressions are unaffected.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LvsZgNxFbeqfRmrVFNhJ8G1 parent 60751ef commit a5508f2
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
0 commit comments