mirror of
https://github.com/Comfy-Org/comfy-typescript-sdk.git
synced 2026-11-04 23:47:27 +00:00
[PR #8] [MERGED] ci: publish to npm via Trusted Publishing (OIDC), not a stored token #18
Labels
No labels
audit:ai-readiness
audit:community
audit:github
audit:health-scoring
audit:policy
audit:release
audit:supply-chain
bug
cursor-review-pin
effort:medium
effort:small
effort:trivial
priority:nice-to-have
priority:recommended
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-typescript-sdk#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-typescript-sdk/pull/8
Author: @wei-hai
Created: 7/21/2026
Status: ✅ Merged
Merged: 7/21/2026
Merged by: @wei-hai
Base:
main← Head:ci/npm-trusted-publishing📝 Commits (1)
9d26a18ci: publish to npm via Trusted Publishing (OIDC), not a stored token📊 Changes
1 file changed (+14 additions, -12 deletions)
View changed files
📝
.github/workflows/publish.yml(+14 -12)📄 Description
Switches the npm publish job from token auth to npm Trusted Publishing (OIDC) — no
NPM_TOKEN/ publish secret is stored in the repo anymore. This matches the Python SDK, which already publishes to PyPI via OIDC.Changes
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}from the publish step — auth is now the short-lived OIDC token (the job already declaresid-token: write).--provenancekept explicit).npmenvironment (required-reviewers approval gate) is unchanged and can be pinned in the trusted-publisher config.One-time maintainer setup (replaces the
NPM_TOKENsecret)Configure a Trusted Publisher on npmjs.com for
@comfyorg/sdk:Comfy-Org/ComfyTypeScriptSDKpublish.ymlnpmNo token to mint, store, or rotate.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.