Skip to content

Commit 8c83fac

Browse files
committed
update workflow to have permissions
1 parent 6607502 commit 8c83fac

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- master
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
publish_packages:
1013
runs-on: ubuntu-latest
@@ -29,6 +32,7 @@ jobs:
2932
run: npx lerna publish patch --yes
3033
env:
3134
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3236

3337
rmw-shell-demo:
3438
if: ${{ always() }}

0 commit comments

Comments
 (0)