Repository navigation
Commit a64cc39
fix(ci): grant actions: read to the Scorecard caller job
The job-level `permissions:` block REPLACES the workflow-level block, so the
reusable workflow's own `actions: read` cannot elevate the caller's token.
Without it the caller's effective `actions` permission is `none`, and Scorecard's
Packaging check (Actions.ListWorkflowRunsByFileName) can error.
Caught by CodeRabbit on palimpsest-license#151; verified against the whole family:
11 of 13 scorecard.yml callers omit it, including aerie which is already on main.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178nN4Nm3neFRy5K9StZKnB1 parent b928909 commit a64cc39
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
0 commit comments