Skip to content

Automate the PyPI release workflow#158

Open
kmaziarz wants to merge 2 commits into
mainfrom
kmaziarz/release-workflow
Open

Automate the PyPI release workflow#158
kmaziarz wants to merge 2 commits into
mainfrom
kmaziarz/release-workflow

Conversation

@kmaziarz

Copy link
Copy Markdown
Collaborator

So far, new versions of the syntheseus PyPI package were published manually; our Release Stable Version workflow was only responsible for building docs and pushing a tag. This PR extends it to also build the package and publish it using OIDC trusted publishing. Moreover, it hardens the workflow from a security standpoint - it now verifies the tag is formatted correctly, the source branch is set to main, and asks for approval from a second team member before doing the push. To make sure we don't push to PyPI if docs don't build, the workflow first verifies the docs without pushing, and then pushes out the package.

@kmaziarz kmaziarz requested review from AustinT and mrwnmsr June 23, 2026 10:00
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