Skip to content

Automate the PyPI release workflow#158

Merged
kmaziarz merged 2 commits into
mainfrom
kmaziarz/release-workflow
Jun 25, 2026
Merged

Automate the PyPI release workflow#158
kmaziarz merged 2 commits into
mainfrom
kmaziarz/release-workflow

Conversation

@kmaziarz

Copy link
Copy Markdown
Contributor

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
@kmaziarz kmaziarz force-pushed the kmaziarz/release-workflow branch from d8b002b to 8e66a0b Compare June 25, 2026 10:59
@kmaziarz kmaziarz enabled auto-merge (squash) June 25, 2026 11:07
@kmaziarz kmaziarz merged commit 90cf1ae into main Jun 25, 2026
10 checks passed
@kmaziarz kmaziarz deleted the kmaziarz/release-workflow branch June 25, 2026 11:37
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