Repository navigation
fix: remove secret-dumping workflow and adopt OIDC publishing - #15
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved review issues were identified, and all reviewed assessments support approval.
Review effort: Lite
Findings: None
What changed in this PR
This PR removes the secret-dumping workflow and migrates CI and releases to artifact-based, OIDC-authenticated publishing.
Changes:
- Deletes the workflow exposing serialized Actions secrets.
- Adds dedicated OIDC/ tokenless Codecov coverage uploads.
- Builds distributions separately and publishes to PyPI via Trusted Publishing.
- Restricts release tags and scopes workflow permissions.
| File | Description |
|---|---|
.github/workflows/Release.yml |
Builds artifacts, publishes via PyPI Trusted Publishing, and creates GitHub releases. |
.github/workflows/codeql.yml |
Removes the secret-dumping workflow. |
.github/workflows/CI-test.yml |
Separates coverage artifact creation from Codecov upload with OIDC. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #15 +/- ##
=======================================
Coverage 91.91% 91.91%
=======================================
Files 40 40
Lines 1298 1298
=======================================
Hits 1193 1193
Misses 105 105 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove the codeql.yml workflow that serializes Actions secrets and uploads them as an artifact. Switch Codecov to OIDC (with tokenless uploads for fork PRs) and PyPI to Trusted Publishing, removing stored-token references.
Keep the existing release jobs and triggers. Declare all workflow permissions at the top level. GitHub releases use the automatic GITHUB_TOKEN. The PyPI job does not specify an environment, matching the configured publisher.
PyPI Trusted Publisher: owner EutropicAI, repository cccv, workflow Release.yml, environment left blank. Revoke previously exposed credentials at their providers.
Validation: workflow YAML checks, git diff --check and pre-commit hooks passed. Actual publishing remains unverified.