ci: add Forgejo, PyPI and release workflows #32

Merged
dsh merged 1 commit from feat/ci-cd into master 2026-11-26 06:01:04 +00:00
Member

Sets up the public-release pipeline, modeled on ml-lab/tardits and the runner wiki.

  • CI (ci.yml): uv sync --locked, compileall, imports, 38 tests, uv build + twine check.
  • Forgejo registry (publish.yml): tag-triggered; OIDC Authorized Integration, AUDIENCE Actions variable, publishes to ml-lab/pypi/wink; idempotent; manual run is a dry run.
  • PyPI (publish-pypi.yml): tag-triggered; uses PYPI_TOKEN, skips if absent or version already uploaded.
  • Release notes (release.yml): extracts CHANGELOG.md section for the tag, creates the Forgejo release, attaches wheel + sdist; idempotent.
  • CHANGELOG.md now has a 0.1.0 section; pyproject.toml has license/classifiers/URLs.

No tag is pushed here. The release is ready to tag once this lands and CI is green.

Sets up the public-release pipeline, modeled on `ml-lab/tardits` and the runner wiki. - **CI** (`ci.yml`): `uv sync --locked`, compileall, imports, 38 tests, `uv build` + `twine check`. - **Forgejo registry** (`publish.yml`): tag-triggered; OIDC Authorized Integration, `AUDIENCE` Actions variable, publishes to `ml-lab/pypi/wink`; idempotent; manual run is a dry run. - **PyPI** (`publish-pypi.yml`): tag-triggered; uses `PYPI_TOKEN`, skips if absent or version already uploaded. - **Release notes** (`release.yml`): extracts `CHANGELOG.md` section for the tag, creates the Forgejo release, attaches wheel + sdist; idempotent. - `CHANGELOG.md` now has a `0.1.0` section; `pyproject.toml` has license/classifiers/URLs. No tag is pushed here. The release is ready to tag once this lands and CI is green.
- CI: sync, compileall, imports, 38 tests, build + twine check
- publish.yml: OIDC Authorized Integration, AUDIENCE Actions variable,
  ml-lab/pypi/wink registry, idempotent
- publish-pypi.yml: PYPI_TOKEN secret, skipped when absent
- release.yml: CHANGELOG section -> Forgejo release, attach wheel/sdist
- 0.1.0 changelog and package metadata/classifiers/urls
dsh merged commit b086ded701 into master 2026-11-26 06:01:04 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ml-lab/wink!32
No description provided.