-
Notifications
You must be signed in to change notification settings - Fork 8
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
Use CODECOV_TOKEN to fix code coverage uploads #489
Conversation
@jdblischak Should we just run |
f805585
to
2c2f57a
Compare
I confirmed in a manually triggered run of an internal branch that https://github.com/Merck/gsDesign2/actions/runs/12053747467/job/33610137275#step:5:16 |
Repository secrets are not exposed to pull requests from forks, so it doesn't work by default in this case. However, when I updated to the latest https://github.com/Merck/gsDesign2/actions/runs/12057253346/job/33621476108#step:6:53 |
Ready for review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @jdblischak !
I monitored the coverage workflow on the merge commit 5837440. The token was recognized ( |
Our code coverage results have not been uploaded for months because we aren't using a Codecov token. We get errors like the following from our most recent run on main:
We were recently provided a single repository upload token for the gsDesign2 repository by the Merck open source team. Once it is added as a repository secret named
CODECOV_TOKEN
, our workflow will start uploading coverage results again.xref: r-lib/actions#834