Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't run scheduled GitHub actions on forks #48693

Merged
merged 10 commits into from
Apr 25, 2022
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ensure-related-repos-run-crons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript'

steps:
- name: Configure git
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript'

steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/twoslash-repros.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-package-lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'microsoft/TypeScript'

steps:
- uses: actions/checkout@v2
Expand Down