summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2022-09-22 06:48:46 -0700
committerGitHub <noreply@github.com>2022-09-22 06:48:46 -0700
commit98379291e96fb56a1754ceb70608dc9f37d25d6c (patch)
tree860286dd602ecec5ac264aaadd698df9c9c8a760 /.github
parent53c3e4c6f8755c1e2906e2938027d9a4ad7f215a (diff)
downloadnetworkx-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.yml1
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