Skip to content

Fix permissions in ossf-scorecard and publish-techdocs workflows - #103

Merged
marians merged 2 commits into
mainfrom
fix-permissions
Jan 30, 2026
Merged

Fix permissions in ossf-scorecard and publish-techdocs workflows#103
marians merged 2 commits into
mainfrom
fix-permissions

Conversation

@marians

@marians marians commented Jan 30, 2026

Copy link
Copy Markdown
Member

Problem

permissions: read-all at the workflow level requests read access to all permission types, but the calling workflow only grants specific permissions. The reusable workflow cannot request more than what the caller provides.

Solution

This PR sets the permissions on the workflow level to none and sets specific permissions on the job level.

@marians
marians requested review from a team as code owners January 30, 2026 14:50
@marians
marians merged commit d0265e7 into main Jan 30, 2026
1 check passed
@marians
marians deleted the fix-permissions branch January 30, 2026 14:53
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.

2 participants