瀏覽代碼

Merge pull request #2926 from popsql/bugfix-workflow-publish

Only run publish workflow on main monaco-editor repo
Henning Dieterichs 3 年之前
父節點
當前提交
4c068a7b8d
共有 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: