Skip to content

[_]: ci/publish-npm-with-trusted-publishing - #467

Merged
sg-gs merged 2 commits into
masterfrom
ci/npm-trusted-publishing
Dec 1, 2026
Merged

sg-gs merged 2 commits into
masterfrom
ci/npm-trusted-publishing

Conversation

@sg-gs

@sg-gs sg-gs commented Dec 1, 2026

Copy link
Copy Markdown
Member

What

  • Publish to npm with trusted publishing (OIDC) from the npm-publish environment, instead of a long-lived NPM_TOKEN.
  • Drop the unused packages: write permission.
  • Add CODEOWNERS: @xabg2 and @internxt-dev own the whole repo.

Why

  • The NPM_TOKEN secret can be read by any workflow run on any branch. With trusted publishing there is no token to leak, and publishing requires an approved run from master or a v* tag.
  • Every SDK change gets reviewed by one of the two owners.

@sg-gs
sg-gs requested review from apsantiso and xabg2 December 1, 2026 14:26
@sg-gs sg-gs self-assigned this Dec 1, 2026
@sg-gs sg-gs added duplicate This issue or pull request already exists enhancement New feature or request and removed duplicate This issue or pull request already exists labels Dec 1, 2026
@sg-gs
sg-gs merged commit 030159a into master Dec 1, 2026
1 check passed
@sg-gs
sg-gs deleted the ci/npm-trusted-publishing branch December 1, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants