Disable recurrent events on forks (#8668)

This commit is contained in:
Carlos Mocholí 2021-08-02 20:12:13 +02:00 committed by GitHub
parent 661522e173
commit d83dd7969d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -13,6 +13,7 @@ env:
# based on https://github.com/pypa/gh-action-pypi-publish
jobs:
pypi-release:
if: ${{ github.repository_owner == 'PyTorchLightning' }}
runs-on: ubuntu-20.04
steps:
@ -47,12 +48,14 @@ jobs:
verbose: true
docker-XLA:
if: ${{ github.repository_owner == 'PyTorchLightning' }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python_version: ["3.7"]
xla_version: ["1.6", "1.7", "1.8", "1.9"] # todo: , "nightly"
steps:
- name: Checkout
uses: actions/checkout@v2
@ -79,6 +82,7 @@ jobs:
timeout-minutes: 55
docker-CUDA:
if: ${{ github.repository_owner == 'PyTorchLightning' }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
@ -113,6 +117,7 @@ jobs:
timeout-minutes: 55
docker-Conda:
if: ${{ github.repository_owner == 'PyTorchLightning' }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false
@ -154,6 +159,7 @@ jobs:
timeout-minutes: 55
docker-IPU:
if: ${{ github.repository_owner == 'PyTorchLightning' }}
runs-on: ubuntu-20.04
strategy:
fail-fast: false

View File

@ -15,6 +15,7 @@ env:
jobs:
tpu-cleanup:
name: TPU cleaning
if: ${{ github.repository_owner == 'PyTorchLightning' }}
runs-on: ubuntu-20.04
steps: