Explorar o código

Only run publish workflow on main monaco-editor repo

Signed-off-by: Matthew Peveler <matt@popsql.com>
Matthew Peveler %!s(int64=3) %!d(string=hai) anos
pai
achega
7ec6ac210f
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: