Skip to content

fix: remove secret-dumping workflow and adopt OIDC publishing - #15

Merged
Tohrusky merged 4 commits into
mainfrom
codex/ci-trusted-publishing
Sep 28, 2026
Merged

Tohrusky merged 4 commits into
mainfrom
codex/ci-trusted-publishing

Conversation

@Tohrusky

@Tohrusky Tohrusky commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

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.

Copilot AI lite review requested due to automatic review settings September 28, 2026 14:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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

codecov Bot commented Sep 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.91%. Comparing base (ba3a81b) to head (b432520).
⚠️ Report is 4 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

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

@Tohrusky
Tohrusky merged commit 42d28db into main Sep 28, 2026
6 of 9 checks passed
@Tohrusky
Tohrusky deleted the codex/ci-trusted-publishing branch September 28, 2026 15:08
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