Skip to content

Commit f36fdbb

Browse files
Jeremy-Waltondallasbpeters
authored andcommitted
Update workflow permissions (#29)
1 parent 06405c2 commit f36fdbb

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@ name: Publish to NPM
33
on:
44
release:
55
types: [published]
6-
6+
permissions:
7+
contents: write
78
jobs:
89
publish:
910
runs-on: ubuntu-latest
10-
permissions:
11-
contents: read
12-
packages: write
1311
steps:
1412
- uses: actions/checkout@v6
1513

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"main": "dist/index.js",
77
"type": "module",
88
"bin": {
9-
"@rolemodel/optics-mcp": "dist/index.js"
9+
"optics-mcp": "dist/index.js"
1010
},
1111
"scripts": {
1212
"build": "npx tsc && npm run copy:md",

0 commit comments

Comments
 (0)