Skip to content

Conversation

@tanjeemh
Copy link

What problem are we solving?
Trigger release to npmjs using OIDC Trusted Publishing w/ Github Environments. Using Github Environments will enforce security through protected branch deployments and designated reviewer requirements.

Why solve it this way?
/io-ts uses the semantic-release-action/typescript/.../release.yml reusable workflow to run semantic-release. We triggered a beta-release v3.2.0-beta.1 that accepts environment as an input. That way, we can pass environment: publish input inside of /io-ts/.../release.yaml.

Ticket: DX-2084

@tanjeemh tanjeemh requested a review from a team as a code owner November 12, 2025 20:10
**What problem are we solving?**
Trigger release to npmjs using OIDC Trusted Publishing w/ Github Environments.
Using Github Environments will enforce security through protected branch deployments and designated reviewer requirements.

**Why solve it this way?**
/io-ts uses the `semantic-release-action/typescript/.../release.yml` reusable workflow to run semantic-release.
We triggered a beta-release v3.2.0-beta.1 that accepts `environment` as an input. That way, we can pass `environment: publish` input inside of `/io-ts/.../release.yaml`.

Ticket: DX-2084
@tanjeemh tanjeemh changed the title fix: pin to v3.2.0-beta.1 to allow for environment input fix: add OIDC Trusted Publishing w/ Github Environments Nov 12, 2025
Copy link

@ericcrosson-bitgo ericcrosson-bitgo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tanjeemh Please don't use the fix commit message type as we don't want semantic-release to publish a new version

@tanjeemh tanjeemh closed this Nov 12, 2025
@ericcrosson-bitgo ericcrosson-bitgo deleted the DX-2084 branch November 12, 2025 20:42
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.

3 participants