Skip to content

Switch to OIDC Trusted Publishers for npm publish#733

Open
Moser-ss wants to merge 1 commit into
masterfrom
CICDL-258-oidc-trusted-publishers
Open

Switch to OIDC Trusted Publishers for npm publish#733
Moser-ss wants to merge 1 commit into
masterfrom
CICDL-258-oidc-trusted-publishers

Conversation

@Moser-ss
Copy link
Copy Markdown

Switch npm publishing from token-based auth to OIDC Trusted Publishers.

  • Add use_trusted_publisher: true to reusable workflow call
  • Add permissions block (id-token: write, contents: write) for OIDC token issuance
  • No NPM_PUBLIC_PUBLISH_TOKEN secret needed after npmjs.org Trusted Publisher is configured

Manual steps still required before E2E:

  1. Verify client-nodejs is in Pipedrive Public GHA Bot's repo access list
  2. Verify PD_PUBLIC_GHA_BOT_CLIENT_ID variable is available
  3. Add Trusted Publisher on npmjs.com for pipedrive package (org: pipedrive, repo: client-nodejs, workflow: cicd_npm-publish.yml)

@Moser-ss Moser-ss requested a review from a team as a code owner May 21, 2026 21:10
@Moser-ss Moser-ss added the npm-version-minor used for deployment label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

npm-version-minor used for deployment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants