@devries-cameron20 / composio-1 / commits / 7f690e4d9
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

docs(release): correct the npm trusted publisher limit in the runbook

jkomyno committed Nov 5, 2026 at 18:14 UTC 7f690e4d9851e11025720d627e198a8e047cd06a
1 file changed +1 -1
ts/docs/internal/release.md
+1 -1
@@ -77,7 +77,7 @@ Complete these hosted prerequisites before the first release.
77 1. Install a dedicated SDK release App with repository Contents, Pull requests, and Issues write, Actions read, and organization Members read. It needs no protection bypass on `next`. Set the `SDK_RELEASE_APP_SLUG` and `SDK_RELEASE_APP_CLIENT_ID` variables. Put `SDK_RELEASE_APP_PRIVATE_KEY` only in the `sdk-release-control` environment, restricted to `next`.
78 2. Protect `sdk-release/*` tags against creation, update, and deletion, with only this App allowed to bypass. Publishing trusts these tags, so check that an ordinary writer cannot create or move one.
79 3. Create `npm-release` and `pypi-release` environments that deploy only from `sdk-release/*` tags.
80 -4. Register trusted publishers for `.github/workflows/sdk.release.yml` with the `npm-release` environment on every npm package, and with `pypi-release` on every PyPI package. npm allows one trusted publisher per package, so this replaces the `ts.release.yml` identity the `main` beta lane uses: decide how betas publish (an npm token in `ts.release.yml`, or a beta mode in `sdk.release.yml`) before switching. PyPI accepts several publishers.
80 +4. Register trusted publishers for `.github/workflows/sdk.release.yml` with the `npm-release` environment on every npm package, and with `pypi-release` on every PyPI package. Always set the environment: PyPI treats a publisher without one as matching any environment. On npm, enable **Allow npm dist-tag**, because the publish job moves `latest` with `npm dist-tag`. Register shortly before the first release, because npm drops a new trusted publisher that hasn't published within 2 days. Keep the existing `ts.release.yml` and `py.release.yml` publishers. npm allows up to 10 trusted publishers per package and PyPI accepts several, so the `main` beta lane and core prereleases keep publishing.
81 5. Restrict pushes to `sdk-release/batch-*` branches to the App. The tag step refuses heads the App did not commit, so this only prevents confusion.
82 6. Keep Actions artifact retention at 30 days or more.
83