Skip to content

Commit 5097a24

Browse files
authored
Fix the tagging permissions again (#181)
1 parent 2cbc15d commit 5097a24

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
environment: npm
2222
env:
2323
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
24+
permissions:
25+
content: write
2426
steps:
2527
- uses: actions/checkout@v2
2628
- uses: actions/download-artifact@v4
@@ -29,12 +31,6 @@ jobs:
2931
registry-url: 'https://registry.npmjs.org'
3032
- run: npm install
3133
- run: npm publish
32-
33-
tag:
34-
needs: publish
35-
permissions:
36-
content: write
37-
steps:
3834
- id: pkg
3935
run: |
4036
content=`cat ./package.json | tr '\n' ' '`

0 commit comments

Comments
 (0)