Browse Source

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

Only run publish workflow on main monaco-editor repo
Henning Dieterichs 3 years ago
parent
commit
4c068a7b8d
1 changed files with 1 additions and 0 deletions
  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: