diff options
author | Ross Barnowski <rossbar@berkeley.edu> | 2022-09-22 06:48:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 06:48:46 -0700 |
commit | 98379291e96fb56a1754ceb70608dc9f37d25d6c (patch) | |
tree | 860286dd602ecec5ac264aaadd698df9c9c8a760 /.github | |
parent | 53c3e4c6f8755c1e2906e2938027d9a4ad7f215a (diff) | |
download | networkx-98379291e96fb56a1754ceb70608dc9f37d25d6c.tar.gz |
Only run scheduled pytest-randomly job in main repo. (#5993)
Prevents this job from running on forks.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/pytest-randomly.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/pytest-randomly.yml b/.github/workflows/pytest-randomly.yml index 84168d20..74cce8d8 100644 --- a/.github/workflows/pytest-randomly.yml +++ b/.github/workflows/pytest-randomly.yml @@ -6,6 +6,7 @@ on: jobs: randomize-test-order: + if: github.repository == 'networkx/networkx' runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 |