Commit 96f97a2
fix(ci): correct 3 secret-name mismatches causing silent no-ops (#352)
## Summary
Post-breach credential audit found two workflows referencing secret
names that don't exist on this repo, causing silent degradation instead
of loud failure:
1. `supervised-fleet-scan.yml` — referenced `secrets.FLEET_SCAN_PAT`
(never configured). Only `HYPATIA_SCAN_PAT` exists, and its scope
matches exactly what this step's own comment says it needs (Contents +
Dependabot alerts read, for cross-repo CVE scanning). Pointed at the
secret that actually exists.
2. `inbox-steward.yml` "Validate PRs" — referenced `secrets.FARM_PAT`
(never configured). This step only reads check-runs/reviews/PRs on `${{
github.repository }}` itself — never needed a cross-repo PAT. Switched
to `secrets.GITHUB_TOKEN`.
3. `inbox-steward.yml` "Send dispatch to Hypatia" — same missing
`FARM_PAT`, but this step genuinely dispatches cross-repo, so kept the
PAT-with-fallback shape, just pointed at `FARM_DISPATCH_TOKEN` (the
secret that's actually meant to carry that capability — currently dead
pending a separate redistribution effort, tracked elsewhere; the `||
secrets.GITHUB_TOKEN` fallback means this degrades safely either way).
No behavior regression possible — all three references were 100%
guaranteed-broken before this change (referencing secrets that don't
exist), so this is strictly an improvement.
## Note
Unrelated to this PR: `git push` surfaced "GitHub found 4
vulnerabilities on this repo's default branch (1 high, 1 moderate, 2
low)" via Dependabot — flagging for separate follow-up, not touched
here.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent bcd8a4c commit 96f97a2
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
| 387 | + | |
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments