chore: Update github actions to use OIDC for codecov. Assisted-by: Claude#1559
chore: Update github actions to use OIDC for codecov. Assisted-by: Claude#1559jcraiglo1 wants to merge 1 commit into
Conversation
Signed-off-by: Jacob Craiglow <jacobcraiglow1@gmail.com>
📝 WalkthroughWalkthroughThis PR enables OIDC-based authentication for Codecov uploads by granting the required GitHub OIDC permission in the CI workflow and configuring the Codecov action to use OIDC instead of environment variables. ChangesEnable OIDC Authentication for Codecov
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/ci.yaml:
- Around line 57-59: The workflow permissions block currently sets only
id-token: write which removes other defaults and breaks actions/checkout; update
the permissions section (the permissions: id-token entry in the CI workflow) to
also include contents: read so the checkout step (actions/checkout@v6) can
access the repository; ensure the permissions block contains both id-token:
write and contents: read.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Enterprise
Run ID: 7a25ed28-edb6-4e4e-b42a-60c1a5cef711
📒 Files selected for processing (2)
.github/actions/test/action.yml.github/workflows/ci.yaml
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #1559 +/- ##
=======================================
Coverage 92.01% 92.01%
=======================================
Files 241 241
Lines 10972 10972
=======================================
Hits 10096 10096
Misses 876 876
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
ptoscano
left a comment
There was a problem hiding this comment.
Mostly LGTM, see my question about the removed parameter.



EDA-Server is already connected to codecov. So here I changed around some configuration to use the recommended OIDC method of connecting. It is simpler to maintain as less configuration is required and github itself handles all provisioning. Alongside this we are removing unused env parameters.
Note: As part of this change, flag analytics was enabled in codecov
Summary by CodeRabbit