Skip to content

Commit b6cb436

Browse files
committed
ci(publish): skip preview publish on forks
1 parent 25800da commit b6cb436

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
run: pnpm run build:all
3939

4040
- name: Publish preview packages
41+
if: github.repository == 'modelcontextprotocol/typescript-sdk'
4142
run:
4243
pnpm dlx pkg-pr-new publish --packageManager=npm --pnpm './packages/server' './packages/client'
4344
'./packages/middleware/express' './packages/middleware/hono' './packages/middleware/node'

0 commit comments

Comments
 (0)