Skip to content

ci: expose CODECOV_TOKEN via env so the step if is valid - #419

Merged
gnacho merged 1 commit into
mainfrom
fix/coverage-secrets-context
Sep 29, 2026
Merged

gnacho merged 1 commit into
mainfrom
fix/coverage-secrets-context

Conversation

@gnacho

@gnacho gnacho commented Sep 29, 2026

Copy link
Copy Markdown
Owner

The coverage workflow from #418 failed on every trigger because the secrets context is not allowed in a step-level if (schema error, 0 s runs on main).

Map the secret to a workflow-level env var and check that instead; without a token the upload step is skipped and the job stays green until the Codecov app is connected.

Closes #417

The coverage workflow failed on every trigger because the secrets
context is not allowed in a step-level if (schema error, 0 s runs).
Map it to a workflow env var and check that instead; without a token
the upload step is skipped and the job stays green.
@gnacho
gnacho merged commit 2dfc302 into main Sep 29, 2026
2 checks passed
@gnacho
gnacho deleted the fix/coverage-secrets-context branch September 29, 2026 18:11
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.

ci: add test coverage workflow and Codecov upload

1 participant