Skip to content
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: Use OIDC token for codecov uploading #3163

Merged
merged 1 commit into from
May 11, 2024
Merged

CI: Use OIDC token for codecov uploading #3163

merged 1 commit into from
May 11, 2024

Conversation

seisman
Copy link
Member

@seisman seisman commented Apr 10, 2024

Codecov-action v4.2.0 started to support OIDC token for uploading coverage results, so that we don't need to use secret tokens any more.

Upstream PR: codecov/codecov-action#1330
Usage: https://github.com/codecov/codecov-action#using-oidc

If it works, then we can remove the CODECOV_TOKEN secrets from the settings.

@seisman seisman added the maintenance Boring but important stuff for the core devs label Apr 10, 2024
@seisman seisman added this to the 0.12.0 milestone Apr 10, 2024
@seisman seisman marked this pull request as draft April 10, 2024 02:46
@seisman seisman removed this from the 0.12.0 milestone Apr 15, 2024
@seisman seisman marked this pull request as ready for review May 10, 2024 10:05
@seisman
Copy link
Member Author

seisman commented May 10, 2024

After waiting for some upstream fixes (xref codecov/codecov-action#1378), now OIDC token works.

@seisman
Copy link
Member Author

seisman commented May 10, 2024

Will remove the CODECOV_TOKEN secret after merged.

@seisman seisman requested a review from weiji14 May 10, 2024 10:09
@seisman seisman added the needs review This PR has higher priority and needs review. label May 10, 2024
@seisman seisman merged commit 2a663f7 into main May 11, 2024
15 checks passed
@seisman seisman deleted the oidc branch May 11, 2024 06:31
@seisman seisman removed the needs review This PR has higher priority and needs review. label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Boring but important stuff for the core devs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants