diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 8ecb0d64a2c..e7aeab06311 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -14,6 +14,8 @@ concurrency: jobs: test: + # Do not run the schedule job on forks + if: github.repository == 'dask/distributed' || github.event_name != 'schedule' runs-on: ${{ matrix.os }} timeout-minutes: 180 @@ -159,6 +161,8 @@ jobs: # Publish an artifact for the event; used by publish-test-results.yaml event_file: + # Do not run the schedule job on forks + if: github.repository == 'dask/distributed' || github.event_name != 'schedule' name: "Event File" runs-on: ubuntu-latest steps: