Skip to content

move codecov from token to oidc#191

Merged
bckohan merged 2 commits intodjango-commons:mainfrom
bckohan:codecov
May 1, 2026
Merged

move codecov from token to oidc#191
bckohan merged 2 commits intodjango-commons:mainfrom
bckohan:codecov

Conversation

@bckohan
Copy link
Copy Markdown
Member

@bckohan bckohan commented May 1, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 1, 2026 06:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Moves Codecov uploads in CI from using a repository secret token to GitHub OIDC, and updates the release workflow to support the new auth mechanism.

Changes:

  • Remove CODECOV_TOKEN secret wiring from the reusable test.yml workflow and its callers
  • Enable OIDC for the Codecov upload step and grant id-token: write permission to the coverage job
  • Adjust release workflow behavior by removing the --prerelease flag from GitHub Release creation

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/test.yml Switch Codecov upload from token auth to OIDC and update permissions accordingly
.github/workflows/release.yml Stop passing Codecov token into reusable workflow; add OIDC permission; change release creation flags
Comments suppressed due to low confidence (1)

.github/workflows/test.yml:1

  • With the move to use_oidc: true, the workflow now depends on Codecov’s OIDC configuration (and the expected OIDC claims) rather than a token. Consider adding a short inline comment near this step linking to the repo’s Codecov OIDC setup requirements (or internal docs) so future maintainers know what must be configured in Codecov for uploads to succeed.
name: Test

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/release.yml
@bckohan bckohan merged commit 533e0fa into django-commons:main May 1, 2026
41 checks passed
@codecov
Copy link
Copy Markdown

codecov Bot commented May 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants