Skip to content

fix: use npm trusted publishing - #3

Merged
aorumbayev merged 1 commit into
mainfrom
fix/use-npm-trusted-publishing
Jul 8, 2026
Merged

fix: use npm trusted publishing#3
aorumbayev merged 1 commit into
mainfrom
fix/use-npm-trusted-publishing

Conversation

@aorumbayev

Copy link
Copy Markdown
Member

Removes the npm token from the release workflow so semantic-release publishes through npm trusted publishing/OIDC.

@greptile-apps

greptile-apps Bot commented Jul 8, 2026

Copy link
Copy Markdown

Greptile Summary

This PR updates the release workflow to use npm trusted publishing. The main changes are:

  • Removes NPM_TOKEN from the semantic-release environment.
  • Keeps the existing id-token: write permission for OIDC publishing.
  • Leaves the existing semantic-release publish flow unchanged.

Confidence Score: 5/5

Safe to merge with minimal risk.

The change is narrowly scoped to the release workflow and keeps the required OIDC permission for npm trusted publishing.

No files require special attention.

T-Rex T-Rex Logs

What T-Rex did

  • The consolidated release validation log was reviewed to capture the key steps and transcripts involved in the proof.
  • The package:check step was executed and reported as passed in the package-check log, confirming the package validation completed successfully.
  • The semantic-release dry-run was observed to run with token-env vars unset, as shown in the semantic-release dry-run log.
  • The workflow’s npm token presence check showed no tokens by grepping and exiting with code 1, as demonstrated in the token-absence log.

View all artifacts

T-Rex Ran code and verified through T-Rex

Important Files Changed

Filename Overview
.github/workflows/release.yml Removes the npm token environment variable from the semantic-release step while retaining the job-level OIDC permission required for npm trusted publishing.

Reviews (1): Last reviewed commit: "fix: use npm trusted publishing" | Re-trigger Greptile

@aorumbayev
aorumbayev merged commit 48416d1 into main Jul 8, 2026
4 checks passed
@aorumbayev
aorumbayev deleted the fix/use-npm-trusted-publishing branch July 8, 2026 21:10
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 0.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant