Skip to content

Publish Python SDK with GitHub Actions trusted publishing - #1

Merged
mohsen1 merged 1 commit into
mainfrom
codex/actions-publishing
Oct 15, 2026
Merged

mohsen1 merged 1 commit into
mainfrom
codex/actions-publishing

Conversation

@mohsen1

@mohsen1 mohsen1 commented Oct 15, 2026

Copy link
Copy Markdown
Member

Publish checked Python wheels and source distributions from GitHub Actions through the release.yml PyPI trusted publisher and the pypi environment. Pull requests and main run the existing generation, contracts, lint, typing, HTTP, packaging and install checks.

Release builds hold no registry credential. Tags must equal the package and bundled API version, and the selected commit must belong to main. Manual dispatch defaults to a build-only run. Publishing uses an environment with Mohsen as the required reviewer; the publish job receives only OIDC authority and downloads the checked artifacts.

Validation: actionlint and the complete local Python gate pass. The new release-admission test rejects a wrong tag, an unapproved branch and an unmerged commit. Initial publication waits for CI and registry trust configuration.

@mohsen1
mohsen1 merged commit 5ce6441 into main Oct 15, 2026
3 checks passed
@mohsen1
mohsen1 deleted the codex/actions-publishing branch October 15, 2026 14:33
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.

1 participant