Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/scorecard-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ name: OSSF Scorecard Reusable Workflow
on:
workflow_call:

# Callers must grant contents: read, security-events: write and id-token: write.
# Callers must grant actions: read, contents: read, security-events: write and
# id-token: write ON THE CALLING JOB. A job-level `permissions:` block REPLACES
# the workflow-level one and is never merged with it, so the declarations below
# cannot elevate a caller that omitted them. `actions: read` is required by
# Scorecard's Packaging check (Actions.ListWorkflowRunsByFileName); without it
# the check errors. Audited 2026-09-14: 11 of 13 callers in the estate omitted it.
# Only default-branch publication receives OIDC; PR analysis cannot publish
# unmerged results to the public Scorecard dataset or badge.
permissions:
Expand All @@ -19,6 +24,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
actions: read
contents: read
security-events: write
id-token: write
Expand Down
Loading