mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
Don't run scheduled GitHub actions on forks (#48693)
Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
This commit is contained in:
parent
06fb30725d
commit
42fc05b087
1
.github/workflows/codeql.yml
vendored
1
.github/workflows/codeql.yml
vendored
@ -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
.github/workflows/nightly.yaml
vendored
1
.github/workflows/nightly.yaml
vendored
@ -11,6 +11,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'microsoft/TypeScript'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
1
.github/workflows/twoslash-repros.yaml
vendored
1
.github/workflows/twoslash-repros.yaml
vendored
@ -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
|
||||
|
||||
1
.github/workflows/update-package-lock.yaml
vendored
1
.github/workflows/update-package-lock.yaml
vendored
@ -10,6 +10,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'microsoft/TypeScript'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user