Skip to content

Commit d3cbdcb

Browse files
authored
Merge pull request #20 from builtnorth/dev
fix: add packages write permission to release workflow
2 parents 92b10f1 + 8b73767 commit d3cbdcb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ on:
1818

1919
jobs:
2020
release:
21+
permissions:
22+
contents: write
23+
packages: write
2124
uses: builtnorth/.github/.github/workflows/npm-package-release.yml@main
2225
with:
2326
version: ${{ inputs.version }}
@@ -27,8 +30,6 @@ jobs:
2730
publish-to-npm: false
2831
publish-to-github: true
2932
use-workspace: false # Component library doesn't need workspace dependencies
30-
permissions:
31-
contents: write
3233
secrets:
3334
POLARIS_PLUGIN_GITHUB_TOKEN: ${{ secrets.POLARIS_PLUGIN_GITHUB_TOKEN }}
3435
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)