Commit 3dfcd52
fix(ci): pass GITHUB_TOKEN to Hypatia scan step
After the HYPATIA_DIR fix in PR #44 got the scanner past the working-directory
error, the next step (`Run Hypatia scan`) is now actually executing — and
failing because the scanner queries Dependabot alerts, which requires
GITHUB_TOKEN. The default GITHUB_TOKEN has the security_events:read scope
that the alerts API needs; passing it via env on the scan step closes the
gap.
Verified by reading the actual scan log:
Scanning repository: hyperpolymath/affinescript
Warning: Dependabot alerts unavailable: GITHUB_TOKEN not set — cannot query Dependabot alerts
##[error]Process completed with exit code 1.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 116ea5d commit 3dfcd52
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
| |||
0 commit comments