Skip to content

Commit facf8d6

Browse files
ci(scorecard): add job-level permissions for reusable workflow (#64)
The `scorecard-reusable.yml` reusable requires the calling `analysis` job to declare `security-events: write` and `id-token: write` — called-workflow permissions are CAPPED by the caller's block (the reusable docstring states this explicitly). Without this, every Scorecard run silently fails with `startup_failure` because ossf/scorecard-action cannot upload SARIF. Estate-wide sweep tracked at hyperpolymath/standards#282; same pattern as julia-professional-registry#19 (2026-05-27) and absolute-zero#68 (2026-05-30). Refs hyperpolymath/standards#282 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b0f762b commit facf8d6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/scorecard.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ permissions: read-all
1212

1313
jobs:
1414
analysis:
15+
permissions:
16+
security-events: write
17+
id-token: write
1518
uses: hyperpolymath/standards/.github/workflows/scorecard-reusable.yml@e0caf11508a3989574713c78f5f444f2ce5e33ef
1619
secrets: inherit

0 commit comments

Comments
 (0)