Skip to content

Commit 5dc8abd

Browse files
authored
ci: fix publish workflow (#15)
1 parent 1842cb9 commit 5dc8abd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ concurrency:
1212
jobs:
1313
publish:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
id-token: write
1518

1619
steps:
1720
- uses: actions/checkout@v4
@@ -24,6 +27,6 @@ jobs:
2427

2528
- name: Publish to npm
2629
working-directory: packages/mcp-auth
27-
run: pnpm publish
30+
run: pnpm publish --provenance --no-git-checks
2831
env:
2932
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}

0 commit comments

Comments
 (0)