Only run publish workflow on main monaco-editor repo

Signed-off-by: Matthew Peveler <matt@popsql.com>
This commit is contained in:
Matthew Peveler 2022-01-30 22:29:48 +00:00 committed by GitHub
parent 1134d5e82b
commit 7ec6ac210f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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