Skip to content

fix(ci): full permission grants for reusable-workflow callers - #17

Merged
Lutar, Stephen P. (stephenlutar2-hash) merged 1 commit into
mainfrom
fix/reusable-caller-grants
Jul 16, 2026
Merged

fix(ci): full permission grants for reusable-workflow callers#17
Lutar, Stephen P. (stephenlutar2-hash) merged 1 commit into
mainfrom
fix/reusable-caller-grants

Conversation

@stephenlutar2-hash

Copy link
Copy Markdown
Member

Repairs the startup_failure introduced by the token-permissions narrowing: reusable-workflow jobs must be granted everything the pinned reusable declares (writes and reads). Job grants now mirror reusable-scorecard/trivy/codeql's declared sets exactly; top-level stays contents: read.

…ion set

The token-permissions narrowing kept the job-level writes but dropped the
read grants (actions:read / contents:read) each pinned org reusable also
requests; a reusable job cannot exceed the caller's grant, so runs were
rejected at startup. Grants now mirror the reusable's declared set exactly.

Signed-off-by: SZL Ops <ops@szlholdings.ai>
@stephenlutar2-hash
Lutar, Stephen P. (stephenlutar2-hash) merged commit 728658b into main Jul 16, 2026
9 checks passed
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