uutils / findutils

Rust implementation of findutils
MIT License
314 stars 38 forks source link

ci: uploading coverage to codecov.io fails for dependabot PRs #461

Open cakebaker opened 1 month ago

cakebaker commented 1 month ago

The Upload coverage to codecov.io step in the Code coverage job in the CI fails for dependabot PRs with the following error (see, for example, https://github.com/uutils/findutils/actions/runs/10987148573/job/30501569269):

Error: Codecov token not found. Please provide Codecov token with -t flag.
Error: Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1

It works fine for other PRs, though they use a tokenless upload.

hanbings commented 1 month ago

It looks like this problem often appears in the Github Action of PRs. I'm leaving some links here to some recent PRs with this problem, but I'll merge those PRs first (I noticed that the master branch didn't have the problem after the merge) and check them later. Thanks.

458 #464 #465