Skip to content

Commit fc7abf5

Browse files
committed
fix(scorecard): scope workflow-level permissions to contents:read
Workflow-level `permissions: read-all` capped the GITHUB_TOKEN to read-only across all scopes. With reusable-workflow permission scoping, this caps the called workflow's `security-events: write` / `id-token: write` declarations, blocking scorecard SARIF upload. Manifests as startup_failure with no logs. 30 consecutive startup_failures on main since 2026-05-30. Canonical shape per feedback_scorecard_wrapper_caller_permissions.md: workflow-level `contents: read` + job-level write scopes. Fan-out planned for downstream wrappers if green here.
1 parent 7814dc6 commit fc7abf5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/scorecard.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88
push:
99
branches: [main]
1010

11-
permissions: read-all
11+
permissions:
12+
contents: read
1213

1314
jobs:
1415
analysis:

0 commit comments

Comments
 (0)