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 11:37:54 -07:00
committed by GitHub
co-authored by TypeScript Bot
parent 06fb30725d
commit 42fc05b087
5 changed files with 5 additions and 0 deletions
+1
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
@@ -14,6 +14,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript'
steps:
- name: Configure git
+1
View File
@@ -11,6 +11,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript'
steps:
- uses: actions/checkout@v2
+1
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
@@ -10,6 +10,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript'
steps:
- uses: actions/checkout@v2