Commit d42e136
committed
feat(ci): add gitleaks PR-gating + base allowlist (Phase 0.B1-fleet)
Adds a Secret Scan workflow that runs gitleaks against every PR and
push to default branch. Mirrors the canonical pattern in BfxLendingBot,
BfxPingPongBot, and the Wave-1 repos (BotEventAggregator, Knowledge-Hub,
DigiConta, blazor-shared, infra-iac).
This is Wave 2 of the Phase 0.B1-fleet rollout — the 6 repos that didn't
yet have a `gitleaks.toml`. CI-style scan (`--log-opts="--no-merges -1"`)
on current HEAD reports `no leaks found` against gitleaks default rules,
so the toml ships as a minimal scaffold (extend `paths` / add `regexes`
if findings surface).
Phase 0 of the Restart-2026-04 master plan requires zero secret-leak
findings across all fleet repos before the bot fleet restarts on Opus
4.7. Pre-PR gating catches hardcoded secrets before they merge to
master/main.
🤖 Generated with [Claude Code](https://claude.com/claude-code)1 parent 1e619db commit d42e136
2 files changed
Lines changed: 60 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments