Skip to content

[LOW] Limit reusable workflow secrets to Codecov - #3208

Open
OskarEichler wants to merge 1 commit into
iamkun:devfrom
OskarEichler:codex/security-limit-workflow-secrets
Open

OskarEichler wants to merge 1 commit into
iamkun:devfrom
OskarEichler:codex/security-limit-workflow-secrets

Conversation

@OskarEichler

Copy link
Copy Markdown

Summary

The check and release callers use secrets: inherit when invoking the reusable test workflow. That makes every caller secret available to the called workflow even though it declares and needs only CODECOV_TOKEN.

Fix

Pass CODECOV_TOKEN explicitly from each caller. This keeps the existing behavior while preventing future changes in the reusable workflow from gaining access to unrelated repository secrets.

Validation

  • Both callers still satisfy the reusable workflow's declared secret contract
  • Workflow YAML parsed successfully
  • Diff checks passed

Breaking changes

None.

This branch has not been deployed

No deployments
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