Skip to content
This repository was archived by the owner on Sep 15, 2026. It is now read-only.

Adopt the shared release workflow with Trusted Publishing - #122

Merged
lorisleiva merged 1 commit into
mainfrom
feat/shared-release-workflow-main
Sep 14, 2026
Merged

lorisleiva merged 1 commit into
mainfrom
feat/shared-release-workflow-main

Conversation

@lorisleiva

Copy link
Copy Markdown
Member

This PR replaces the inline release job with a call to the shared workflow from codama-idl/release-tools (v1.3.1), which publishes to npm via Trusted Publishing (OIDC). NPM_TOKEN is no longer referenced; id-token: write is granted on the caller as npm requires. Scripts are normalised to release:version / release:publish and the release-tools dependency is set to v1.3.1 (the postversion guard and the trust-publishers command).

Proven on the renderers-rust-cpi canary (codama-idl/renderers-rust-cpi#118 → @codama/renderers-rust-cpi@0.1.4 published with SLSA provenance). Before merging the next release PR on this branch, run pnpm exec release-tools trust-publishers once from this repository.

@changeset-bot

changeset-bot Bot commented Sep 14, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c4d7bf9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@lorisleiva
lorisleiva merged commit 63d49e4 into main Sep 14, 2026
4 checks passed
@lorisleiva
lorisleiva deleted the feat/shared-release-workflow-main branch September 14, 2026 16:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant