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

View File

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