codecov / codecov/codecov-action

[BUG] Tokenless upload result inconsistent between two repository.

Open
#1,845 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
1.7k
Forks
260
Avg merge
1d 7h
Merged PRs (30d)
1

Description

Describe the bug
When create fork PR to sbombastic's workflow will uploads to the codecov fail, but it works on the kubewarden-controller's workflow
[context]
Common

  • Both workflow use the latest v5.4.3 action
  • Both codecov.io require the upload global token

Diff (but both of them are fork PR, this diff should not matter)

  • secret level
    • sbombastic use repo-level secret to upload
    • kubewarden use the org-level secret to upload

To Reproduce
Steps to reproduce the behavior:

  1. Go to sbombastic
  2. fork the repo
  3. create a PR to upstream repo
  4. See error on workflow CI

Expected behavior
Both of the repo should either works on uploading or failing.

Regression

Screenshots
Image

Product Area
If applicable, the product with the given bug (e.g. coverage, test analytics, browser extension, bundle analysis)

Versions

  • OS: ubuntu-latest
  • Git Host: GitHub
  • CI/CD: GitHub Actions
  • Uploader: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3

Commit and CI link

Additional context
Add any other context about the problem here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the linked sbombastic and kubewarden-controller workflow runs, especially their secret scopes and codecov-action@v5.4.3 upload steps. Reproduce the fork pull request failure and identify why the repository-level secret behaves differently; done means both workflows have consistent tokenless upload behavior or a documented, reproducible distinction.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.