Skip to content

ci: configure Codecov with OIDC authentication - #3

Merged
kolkov merged 1 commit into
mainfrom
ci/codecov-oidc
Mar 18, 2026
Merged

kolkov merged 1 commit into
mainfrom
ci/codecov-oidc

Conversation

@kolkov

@kolkov kolkov commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade codecov/codecov-action from v4 to v5
  • Enable OIDC authentication (use_oidc: true) — no upload token needed
  • Add codecov.yml with coverage targets

Details

Codecov OIDC uses GitHub's built-in OIDC provider to authenticate uploads.
No CODECOV_TOKEN secret required — reduces security surface.

Current test coverage: 91.7%

Test plan

  • CI should pass with new codecov-action v5
  • Coverage should appear on codecov.io after merge

- Upgrade codecov-action from v4 to v5
- Enable OIDC authentication (use_oidc: true) - no upload token needed
- Add id-token: write permission for GitHub OIDC provider
- Add codecov.yml with coverage targets (auto for project, 80% for patch)
- Use 'files' parameter instead of deprecated 'file'
@codecov

codecov Bot commented Mar 18, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

@kolkov
kolkov merged commit a3c7a3b into main Mar 18, 2026
8 checks passed
@kolkov
kolkov deleted the ci/codecov-oidc branch March 18, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant