Skip to content

Switch to OIDC Trusted Publishers for npm publish#733

Merged
pipedrive-public-gha-bot[bot] merged 1 commit into
masterfrom
CICDL-258-oidc-trusted-publishers
May 22, 2026
Merged

Switch to OIDC Trusted Publishers for npm publish#733
pipedrive-public-gha-bot[bot] merged 1 commit into
masterfrom
CICDL-258-oidc-trusted-publishers

Conversation

@Moser-ss
Copy link
Copy Markdown
Contributor

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)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@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
@Moser-ss Moser-ss added the npm-ready-for-publish used for deployment label May 22, 2026
pipedrive-public-gha-bot Bot pushed a commit that referenced this pull request May 22, 2026
@pipedrive-public-gha-bot pipedrive-public-gha-bot Bot merged commit 854ca26 into master May 22, 2026
8 checks passed
@pipedrive-public-gha-bot pipedrive-public-gha-bot Bot deleted the CICDL-258-oidc-trusted-publishers branch May 22, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

npm-ready-for-publish used for deployment npm-version-minor used for deployment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants