-
Notifications
You must be signed in to change notification settings - Fork 543
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
CI: Fix how we supply the codecov token #1324
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1324 +/- ##
==========================================
+ Coverage 91.25% 91.50% +0.25%
==========================================
Files 38 38
Lines 17114 17314 +200
==========================================
+ Hits 15617 15844 +227
+ Misses 1497 1470 -27 ☔ View full report in Codecov by Sentry. |
Apparently not...
'No token specified or token is empty' |
The secret turned out to be empty, indeed. I've updated it so should be better now. Want to amend and force push the branch to see if it's better now? |
4dfb2db
to
76048bf
Compare
I checked the results in this PR and another, but no change yet... |
I figure this is probably an issue in the upstream action? |
20f9d31
to
3f063de
Compare
3f063de
to
11776f0
Compare
We don't seem to have a lot of problems with codecov lately? I'll close this. |
Spoke to soon, got a failure 2½ hours after closing this PR 🤣. Okay, I'll investigate some more. |
Aha. For security reasons it seems GitHub secrets are not available on pull request with the branch originating from a forked repository (basically all of our PRs).
|
|
Well, maybe you could at least just work from feature branches in this repo instead of in your fork? Should be fine. |
Final idea before I admit defeat: We can just supply the token via
(https://community.codecov.com/t/security-issues-regarding-upload-token/429/8) @djc any objections? |
Yeah, I don't think I want to put the token in plaintext in the repo. I would still suggest you at least make your PRs from branches within this repo. |
It seems to work at the moment, I'll close this PR. |
What is your reason? It feels messy to have many branches in the main repo. |
Well, if it fixes the coverage issue that's worth something? We should enable the thing that deletes branches after merge if we haven't yet... |
Codecov is not happy the past few days. Maybe this helps?