Open braaar opened 2 weeks ago
In the PR, secrets.CODECOV_TOKEN
is missing, but it is required by codecov.
If using codecov-action@v4
: https://github.com/codecov/codecov-action/issues/1431
V4 allows uploads from both forked as well as the base repo. PRs from forked repos don't need tokens for reports to be upload to codecov. PRs from the "upstream" repo, need a token today.
I can't perfectly resolve it unless I ignore PRs from base repo. (e.g.: dependabot[bot])
Description
The codecov github action seems to randomly fail, at least in PRs, even when the change in the PR doesn't affect source code or tests.
Minimal code-snippet showcasing the problem Make a PR and run the test action. See example: https://github.com/typestack/class-validator/actions/runs/11377772092/job/31656989112?pr=2542
Expected behavior
Codecov shouldn't start failing when it succeeded during the last push to main.
Actual behavior
Some string that we want to
.split
appears to be undefined. Here's the full log: