Skip to content

fix: replace read-all with specific permissions in scorecard workflow - #4

Merged
leifj merged 1 commit into
mainfrom
fix/scorecard-permissions
Jun 9, 2026
Merged

leifj merged 1 commit into
mainfrom
fix/scorecard-permissions

Conversation

@leifj

@leifj leifj commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

SonarCloud flags permissions: read-all as a security hotspot.

Replaces with explicit minimal permissions:

  • contents: read — checkout repo
  • actions: read — Scorecard reads workflow files for scoring
  • Job-level adds security-events: write + id-token: write (unchanged)

SonarCloud flags 'permissions: read-all' as a security hotspot.
Replace with explicit contents:read and actions:read at both
workflow and job level.
@leifj
leifj merged commit 1cbd08f into main Jun 9, 2026
5 checks passed
@leifj
leifj deleted the fix/scorecard-permissions branch June 9, 2026 11:01
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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