Skip to content

CI: Use OIDC token for codecov uploading - #3163

Merged
seisman merged 1 commit into
mainfrom
oidc
May 11, 2024
Merged

seisman merged 1 commit into
mainfrom
oidc

Conversation

@seisman

@seisman seisman commented Apr 10, 2024

Copy link
Copy Markdown
Member

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

seisman commented May 10, 2024

Copy link
Copy Markdown
Member Author

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

@seisman seisman added this to the 0.13.0 milestone May 10, 2024
@seisman

seisman commented May 10, 2024

Copy link
Copy Markdown
Member Author

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
@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.

2 participants