Do not run schedule jobs on forks
@@ -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:
