From 012a5bd834c10ca2b3a9afc2dff061dad70bd53b Mon Sep 17 00:00:00 2001 From: typicode Date: Wed, 21 Jan 2026 01:09:49 +0100 Subject: [PATCH] chore: update publish.yml to include permissions (#1679) Add permissions for OIDC and content access in workflow --- .github/workflows/publish.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 385fb9a..0ee1dc1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,6 +2,9 @@ name: Publish Package to npmjs on: release: types: [published] +permissions: + id-token: write # Required for OIDC + contents: read jobs: build: runs-on: ubuntu-latest