-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Codecov changes master
or main
coverage on PRs from forks
#139
Comments
+1 We are also seeing this issue. A lot of first-time contributor PRs come from master branches so coverage drops can be quite frequent for some projects. |
Tracking internally as |
master
or main
coverage on PRs from forks
This underlying bug is fixed for the Codecov CLI (see: codecov/engineering-team#661). this work is not in the node uploader. We will be moving the codecov github action to use the CLI instead of the node uploader soon (see: codecov/engineering-team#813). Once this is done, this problem be resolved for customers using the github action. |
Hi everyone We've released a new version of the codecov action and CLI that should help address the issue you're seeing here. Here's a link to our blog outlining the latest update including how to upgrade to the CLI. You can also visit our docs for more detailed information on how to get set up with the CLI, especially if you're not using our Github Action, Bitrise Step or CircleCI orb. |
Closing for now. If the CLI is not fixing the issue, feel free to comment to reopen |
Hi, I am using this action on my project pterm/pterm and today we got a PR that somehow changed my overall coverage for the master branch, even that I haven't merged it into master. I could reproduce that in this PR that I made: pterm/pterm#218 which reduces the Coverage from 100% to 98% even tho I haven't merged it.
It also detects that the PR commits are in master, which they aren't
This never happened before, and now someone could easily manipulate my coverage down to 0%.
The text was updated successfully, but these errors were encountered: