소스 검색

Only run publish workflow on main monaco-editor repo

Signed-off-by: Matthew Peveler <matt@popsql.com>
Matthew Peveler 3 년 전
부모
커밋
7ec6ac210f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      .github/workflows/publish.yml

+ 1 - 0
.github/workflows/publish.yml

@@ -12,6 +12,7 @@ on:
         default: 'true'
 jobs:
   publish:
+    if: github.repository == "microsoft/monaco-editor"
     name: Publish to npm
     runs-on: ubuntu-latest
     steps: