Skip to content

Commit a64cc39

Browse files
hyperpolymathclaude
andcommitted
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_0178nN4Nm3neFRy5K9StZKnB
1 parent b928909 commit a64cc39

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/scorecard.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
analysis:
1515
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@092dedada188f56c5915f74a5fd40aac093742c3
1616
permissions:
17+
actions: read
1718
contents: read
1819
security-events: write
1920
id-token: write

0 commit comments

Comments
 (0)