Commit 1a50632
HYPERFLEET-1024 - chore: switch spectral lint to CLI with github-actions format
Replace stoplightio/spectral-action (Docker, hides output behind GitHub API
annotations) with a direct npx spectral lint invocation using --format
github-actions. This format emits ::error and ::warning workflow commands
to stdout, which GitHub Actions renders as inline PR annotations natively
without requiring checks:write or any API call. Output is fully visible in
step logs. Remove checks:write permission as it is no longer needed.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 6cb4bd2 commit 1a50632
3 files changed
Lines changed: 1573 additions & 120 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
48 | | - | |
49 | | - | |
| 46 | + | |
| 47 | + | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| |||
0 commit comments