Skip to content

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

Open

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    github_actionsPull requests that update GitHub Actions code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions