Commit c9fd28f
fix(ci): bump secret-scanner SHA pin + scanner-allow pragma on test fixture (#377)
## Summary
- Bumps `secret-scanner-reusable.yml` pin from `3e4bd4c` → `28fdf19`
(standards#236).
- Adds `# scanner-allow: shell-secrets` pragma above `export
ARANGODB_PASSWORD="testpassword"` in `integration/run-tests.sh`.
- `hooks/lib/cache.sh` line 22
(`CICD_CACHE_PASSWORD="${CICD_CACHE_PASSWORD:-}"`) now passes
automatically via the new param-expansion exemption — no code change
needed there.
## What changed in standards#236
The `shell-secrets` scanner job in the reusable gained four exemption
layers:
1. Inline pragma (`# scanner-allow: shell-secrets` or `# hypatia: allow
security_errors/secret_detected`) on same or preceding line.
2. `.shell-secrets-ignore` file support (gitignore-style path globs).
3. Automatic param-expansion skip (`${VAR:-}`, `${VAR:?}`, `$VAR` — not
literals).
4. Comment-line skip (lines starting with `#` cannot hold real secrets).
## Test plan
- [x] Local smoke: all three false-positive lines skip cleanly with the
new scanner logic.
- [ ] CI green on this PR (shell-secrets job should now pass on main).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9641125 commit c9fd28f
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
0 commit comments