Skip to content

fix(ci): publish to PyPI with trusted publishing - #17

Merged
alissonsleal merged 1 commit into
mainfrom
fix/pypi-trusted-publishing
Sep 29, 2026
Merged

alissonsleal merged 1 commit into
mainfrom
fix/pypi-trusted-publishing

Conversation

@alissonsleal

Copy link
Copy Markdown
Member

The 1.8.0 publish failed with error: an access token is required. rye publish cannot use trusted publishing, so this builds with rye and uploads with pypa/gh-action-pypi-publish, which exchanges the GitHub OIDC token.

.github/workflows/ is scaffolding that stlc keeps from the branch, so the next stlc build does not revert this edit.

After merge, run Publish PyPI by hand on v1.8.0 (or merge the 1.9.0 release PR).

rye publish needs an API token and cannot exchange the GitHub OIDC token. Build with rye and upload with pypa/gh-action-pypi-publish instead.
Copilot AI balanced review requested due to automatic review settings September 29, 2026 03:24

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 was unable to review this pull request because the user who requested the review has reached their quota limit.

@alissonsleal
alissonsleal merged commit c995db3 into main Sep 29, 2026
5 checks passed
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