From 7ec6ac210f88b1b92ae669caed98616ad4ed3a77 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Sun, 30 Jan 2022 22:29:48 +0000 Subject: [PATCH] Only run publish workflow on main monaco-editor repo Signed-off-by: Matthew Peveler --- .github/workflows/publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3f6d172932..15e76c57fb 100644 --- a/.github/workflows/publish.yml +++ b/.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: