From 65e901531b589d94e834a1f3faf5cca84c2f22d4 Mon Sep 17 00:00:00 2001 From: Deepti Rajagopal Date: Mon, 9 Nov 2026 12:56:14 -0600 Subject: [PATCH] chore: migrate NPM publishing to trusted publishing @W-24716568@ --- .github/workflows/onRelease.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/onRelease.yml b/.github/workflows/onRelease.yml index 6a10e15..b886b05 100644 --- a/.github/workflows/onRelease.yml +++ b/.github/workflows/onRelease.yml @@ -22,9 +22,13 @@ jobs: - uses: salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main id: distTag npm: + permissions: + id-token: write + contents: read uses: salesforcecli/github-workflows/.github/workflows/npmPublish.yml@main needs: [getDistTag] with: + trustedPublishing: true tag: ${{ needs.getDistTag.outputs.tag || 'latest' }} githubTag: ${{ github.event.release.tag_name || inputs.tag }} ctc: true