Skip to content

ci(release): restore production PyPI trusted publishing #384

Description

@fishmingyu

Objective

Restore secretless production releases after the one-time v0.1.0 bootstrap publication.

Context

The v0.1.0 tag release matrix passed, but PyPI rejected the final OIDC exchange with invalid-publisher because no matching production publisher was registered. The release was completed using the preconfigured account token and the exact artifacts from tag run 30444836310.

PyPI expected these claims:

  • Project: codenib
  • Owner: sysevol-ai
  • Repository: CodeNib
  • Workflow: release.yml
  • Environment: pypi

Completion Criteria

  • Add the GitHub trusted publisher under the production codenib project on pypi.org.
  • Confirm the publisher fields exactly match the claims above.
  • Rotate or revoke the bootstrap API token stored in ~/.pypirc after the publisher is active.
  • Verify the next production release publishes through OIDC without a password or API token.

Evidence

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/small< half daypriority/P1This weekscope/infraCI, packaging, repo configsecuritySecurity-sensitive issue or fixtype/choreBuild, CI, dependency updates

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions