Skip to content

Commit 2fc54a7

Browse files
ci(scorecard): add job-level permissions for reusable workflow (#30)
Reusable-workflow permission inheritance caps called-workflow permissions by the caller's block. Without job-level overrides, ossf/scorecard-action cannot upload SARIF — runs silently startup_failure. Refs hyperpolymath/standards#282 Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 92d016e commit 2fc54a7

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)