From b205ce945cfe598bf9242a2778209f1aac746585 Mon Sep 17 00:00:00 2001 From: Bryan Mishkin <698306+bmish@users.noreply.github.com> Date: Thu, 21 Aug 2025 21:52:38 -0400 Subject: [PATCH] Add id-token permission and update npm publish step --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2507e7806d..63ba9d5400 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -41,6 +41,7 @@ jobs: permissions: contents: write pull-requests: write + id-token: write steps: - uses: actions/checkout@v5 @@ -51,7 +52,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - uses: pnpm/action-setup@v4 - run: pnpm install --frozen-lockfile - - name: npm publish + - name: npm publish --provenance run: pnpm release-plan publish env: GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}