chore: update publish.yml to include permissions (#1679)

Add permissions for OIDC and content access in workflow
This commit is contained in:
typicode
2026-01-21 01:09:49 +01:00
committed by GitHub
parent c44e0684f5
commit 012a5bd834

View File

@@ -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