diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8cb8045ef425e..e9bc38cbcaeb8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -11,6 +11,7 @@ jobs: # CodeQL runs on ubuntu-latest and windows-latest runs-on: ubuntu-latest + if: github.repository == 'microsoft/TypeScript' steps: - name: Checkout repository diff --git a/.github/workflows/ensure-related-repos-run-crons.yml b/.github/workflows/ensure-related-repos-run-crons.yml index f6faff6b67f77..a26fb5b799220 100644 --- a/.github/workflows/ensure-related-repos-run-crons.yml +++ b/.github/workflows/ensure-related-repos-run-crons.yml @@ -14,6 +14,7 @@ on: jobs: build: runs-on: ubuntu-latest + if: github.repository == 'microsoft/TypeScript' steps: - name: Configure git diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index c207c19ace2c4..d425bea605f2a 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -11,6 +11,7 @@ on: jobs: build: runs-on: ubuntu-latest + if: github.repository == 'microsoft/TypeScript' steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/twoslash-repros.yaml b/.github/workflows/twoslash-repros.yaml index d96a68b038f99..5aafbe16178ff 100644 --- a/.github/workflows/twoslash-repros.yaml +++ b/.github/workflows/twoslash-repros.yaml @@ -17,6 +17,7 @@ jobs: run: if: ${{ !github.event.label }} runs-on: ubuntu-latest + if: github.repository == 'microsoft/TypeScript' steps: - name: Use node uses: actions/setup-node@v1 diff --git a/.github/workflows/update-package-lock.yaml b/.github/workflows/update-package-lock.yaml index 3880b5cae83ce..5c66d1078ebaf 100644 --- a/.github/workflows/update-package-lock.yaml +++ b/.github/workflows/update-package-lock.yaml @@ -10,6 +10,7 @@ on: jobs: build: runs-on: ubuntu-latest + if: github.repository == 'microsoft/TypeScript' steps: - uses: actions/checkout@v2