Skip to content

Commit 461a411

Browse files
fix(ci): set permissions for DXT publish action
1 parent 161119e commit 461a411

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish-npm.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
publish:
1717
name: publish
1818
runs-on: ubuntu-latest
19+
permissions:
20+
contents: write
1921

2022
steps:
2123
- uses: actions/checkout@v4
@@ -44,3 +46,5 @@ jobs:
4446
run: |
4547
gh release upload ${{ github.event.release.tag_name }} \
4648
packages/mcp-server/cas_parser_node_api.dxt
49+
env:
50+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)