Repository navigation
Publish Python SDK with GitHub Actions trusted publishing - #1
Merged
Merged
Conversation
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.
Publish checked Python wheels and source distributions from GitHub Actions through the
release.ymlPyPI trusted publisher and thepypienvironment. 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.