From e5ef77bb2ba7e1e98d3c55a7bd2283f846d73841 Mon Sep 17 00:00:00 2001 From: Yaw Anokwa Date: Tue, 27 Jan 2026 13:00:34 -0800 Subject: [PATCH] Update release.yml to include permissions Add permissions for id-token and contents in release workflow. --- .github/workflows/release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 199ca93f7..2b75ac9eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,10 @@ on: tags: - '**@[0-9]+.[0-9]+.[0-9]+' +permissions: + id-token: write # Required for OIDC + contents: read + jobs: publish: runs-on: ubuntu-latest @@ -42,5 +46,3 @@ jobs: - name: Publish packages run: yarn changeset publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}