Skip to content

Release from the monorepo mirror - #276

Merged
joeldierkes merged 1 commit into
mainfrom
chore/release-from-monorepo
Sep 14, 2026
Merged

joeldierkes merged 1 commit into
mainfrom
chore/release-from-monorepo

Conversation

@joeldierkes

Copy link
Copy Markdown
Contributor

The SDK source now lives in Mixedbread's monorepo, which mirrors every change here as one commit and creates a GitHub release whenever the package version changes. This PR makes the repository's own workflows fit that flow.

Changes

  • ci.yml: lint, type-check and build on pushes to main and on pull requests (the test suite runs in the monorepo against its mock server before a change is mirrored).
  • publish-*.yml: publish on a published GitHub release through PyPI trusted publishing, using the pypi environment; the PYPI_TOKEN secret remains as the token fallback.
  • Removed release-please and release-doctor: the version is set in the monorepo, so nothing here bumps it.
  • .github/CONTRIBUTING.md explains that pull requests are ported into the monorepo rather than merged.

Before the first release

  • Configure a trusted publisher on PyPI for this repository (workflow publish-*.yml, environment pypi), or set the PYPI_TOKEN secret.
  • CI on this branch runs against the current Stainless-era tree and will not pass until the first mirror lands (no uv.lock / lint scripts differ).

The code in this repository is generated in Mixedbread's monorepo and
mirrored here as one commit per change; a new version arrives with a tag
and a GitHub release. CI now lints, type-checks and builds; the publish
workflow runs on a published release through trusted publishing (or the
PYPI_TOKEN secret) and no longer depends on release-please.
@joeldierkes
joeldierkes merged commit 984a602 into main Sep 14, 2026
1 check failed
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