-
Notifications
You must be signed in to change notification settings - Fork 225
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
support Github Actions OIDC #1054
Conversation
d3656aa
to
b9fd881
Compare
@thomasrockhu-codecov is there any timeline to get some feedback for the pr? |
@zetaab I'll take a look today |
Codecov Report
@@ Coverage Diff @@
## main #1054 +/- ##
==========================================
+ Coverage 94.83% 95.94% +1.10%
==========================================
Files 4 4
Lines 213 345 +132
Branches 60 103 +43
==========================================
+ Hits 202 331 +129
- Misses 10 14 +4
+ Partials 1 0 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@zetaab this is cool and it's nice to have. I just want to point out that OIDC won't work for PRs from forks because of the limited privileges the |
Bummer, then this does not cover our personal use case... We'll need tokenless support. |
@s0undt3ch yep, that's definitely annoying. Though, you can use |
Nope 😁 What we really need is tokenless uploads, though the new codecov-cli does not support them 😞 |
156ba26
to
07e2b13
Compare
/** | ||
* Main function of the codecov-action | ||
*/ | ||
async function run(): Promise<void> { |
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.
basically this file is linted and added async + await to funcs
9756dc8
to
161a2a5
Compare
This PR will work as is. However, newer codecov cli is now forcing token to be UUID
which should not be the case anymore after codecov/codecov-api#177. So we need another PR to codecov-cli to fix this issue. (and seems that codecov-action does not work anymore against 0.6.x versions) |
I guess this PR fixes codecov/feedback#112? What's the status for this? |
adds support for using Github OIDC that was requested codecov/feedback#53
so after this, the codecov-action itself supports following:
However, this still needs support to codecov-api (codecov/codecov-api#90)
This is tested in following scenarios:
This can be merged before the codecov-api has changes or updated version running. If someone will start using this before it will not just work. It should not break backwards compatibility