Skip to content

Commit 6975af4

Browse files
hyperpolymathclaude
andcommitted
ci(scorecard): add job-level permissions for reusable workflow
The `scorecard-reusable.yml` reusable requires the caller's `analysis` job to declare `security-events: write` and `id-token: write` permissions — called-workflow permissions are CAPPED by the caller's block (the reusable's docstring states this explicitly). Without this, every push silently fails with `startup_failure` because ossf/scorecard-action cannot upload SARIF. Same pattern as julia-professional-registry#19 (discovered 2026-05-27); estate-wide sweep tracked separately. Refs hyperpolymath/standards (estate scorecard convention) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 07552ea commit 6975af4

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)