Skip to content

Enable trusted publishing - #337

Merged
PastelStorm merged 1 commit into
mainfrom
evoss/enable-trusted-publishing
Apr 4, 2026
Merged

PastelStorm merged 1 commit into
mainfrom
evoss/enable-trusted-publishing

Conversation

@PastelStorm

@PastelStorm PastelStorm commented Apr 4, 2026 •

Copy link
Copy Markdown
Contributor

Updated pypi trusted publishing settings too:
image

Note

Medium Risk
Moderate risk because it rewires the release/publish pipeline (trigger, permissions, artifact flow, and version gating), which could break publishing if misconfigured. It reduces secret-handling risk by removing reliance on a long-lived PYPI_TOKEN.

Overview
Switches PyPI releases from the Speakeasy publish workflow + PYPI_TOKEN secret to a GitHub Releases-triggered pipeline that builds with uv, validates the release tag matches unstructured_client._version, and publishes via trusted publishing (OIDC) using pypa/gh-action-pypi-publish.

Removes PyPI publishing configuration from Speakeasy (.speakeasy/workflow*.yaml) and stops passing pypi_token into the SDK generation workflow, while bumping SDK/package versioning to 0.43.2 (generator config + _version.py) and adding regression tests that enforce the new release workflow invariants.

Reviewed by Cursor Bugbot for commit 4d38845. Bugbot is set up for automated code reviews on this repo. Configure here.

@socket-security

Copy link
Copy Markdown

@PastelStorm
PastelStorm requested a review from awalker4 April 4, 2026 14:02
@PastelStorm
PastelStorm merged commit 971a150 into main Apr 4, 2026
18 checks passed
@PastelStorm
PastelStorm deleted the evoss/enable-trusted-publishing branch April 4, 2026 14:13
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