Skip to content

Add trusted-publishing workflow for PyPI - #3

Merged
robfig merged 1 commit into
masterfrom
ci/pypi-publish
Sep 3, 2026
Merged

Add trusted-publishing workflow for PyPI#3
robfig merged 1 commit into
masterfrom
ci/pypi-publish

Conversation

@robfig

@robfig robfig commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Adds .github/workflows/publish.yml so roamhq can go to PyPI without an API token.

Does not publish anything. The job only runs on v* tags or Actions → Publish → Run workflow.

Before the first upload, still needed in the UIs (see RELEASING.md):

  1. PyPI account + 2FA
  2. GitHub environment named pypi
  3. Pending trusted publisher: project roamhq, workflow publish.yml, environment pypi

v0.1.0 already exists, so after this lands, publish that version with Run workflow, not by retagging.

publish.yml uploads the wheel on v* tags (or workflow_dispatch) via
OIDC. No API token. First v0.1.0 publish is a manual run because that
tag already exists. RELEASING.md has the one-time PyPI / GitHub
environment setup.
@robfig
robfig merged commit e035282 into master Sep 3, 2026
3 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.

1 participant