Don't run scheduled GitHub actions on forks (#48693)

Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
This commit is contained in:
Marek Dědič 2022-04-25 20:37:54 +02:00 committed by GitHub
parent 06fb30725d
commit 42fc05b087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -14,6 +14,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript'
steps:
- name: Configure git

View File

@ -11,6 +11,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript'
steps:
- uses: actions/checkout@v2

View File

@ -22,6 +22,7 @@ jobs:
run:
if: ${{ !github.event.label && !github.event.inputs.bisect_issue }}
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript'
steps:
- name: Use node
uses: actions/setup-node@v1

View File

@ -10,6 +10,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript'
steps:
- uses: actions/checkout@v2