Skip to content

Commit c0630f6

Browse files
hyperpolymathclaude
andcommitted
ci(scorecard): add job-level permissions for reusable workflow
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 a395007 commit c0630f6

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
@@ -20,6 +20,9 @@ permissions:
2020

2121
jobs:
2222
analysis:
23+
permissions:
24+
security-events: write
25+
id-token: write
2326
runs-on: ubuntu-latest
2427
permissions:
2528
security-events: write

0 commit comments

Comments
 (0)