Skip to content

ci(scorecard): add job-level permissions for reusable workflow#104

Merged
hyperpolymath merged 1 commit into
mainfrom
chore/scorecard-job-perms-282
May 31, 2026
Merged

ci(scorecard): add job-level permissions for reusable workflow#104
hyperpolymath merged 1 commit into
mainfrom
chore/scorecard-job-perms-282

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Summary

  • Add permissions: { security-events: write, id-token: write } to jobs.analysis so the called scorecard reusable can upload SARIF.
  • Without job-level overrides the caller's permissions: read-all caps the reusable and ossf/scorecard-action silently startup_failures.

Refs hyperpolymath/standards#282

Test plan

  • Local diff is 3 lines exactly
  • CI green
  • Auto-merge squash + delete-branch on green

🤖 Generated with Claude Code

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>
@hyperpolymath
hyperpolymath enabled auto-merge (squash) May 31, 2026 10:49
@hyperpolymath
hyperpolymath merged commit 8ff91c6 into main May 31, 2026
17 checks passed
@hyperpolymath
hyperpolymath deleted the chore/scorecard-job-perms-282 branch May 31, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant