Skip to content

Commit 8a69271

Browse files
Update GitHub Actions workflow to add permissions for OIDC and release management
1 parent b14f768 commit 8a69271

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
concurrency: ${{ github.workflow }}-${{ github.ref }}
99

10+
permissions:
11+
id-token: write # Required for OIDC/npm trusted publishing
12+
contents: write # Required for creating releases and commits
13+
1014
jobs:
1115
release:
1216
name: Release
@@ -43,4 +47,3 @@ jobs:
4347
title: "chore: version packages"
4448
env:
4549
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)