##// END OF EJS Templates
Disable scheduled CI runs on forks (#14366)...
M Bussonnier -
r28694:43f9010d merge
parent child Browse files
Show More
@@ -14,6 +14,8 b' permissions:'
14 14 jobs:
15 15 test:
16 16 runs-on: ${{ matrix.os }}
17 # Disable scheduled CI runs on forks
18 if: github.event_name != 'schedule' || github.repository_owner == 'ipython'
17 19 strategy:
18 20 matrix:
19 21 os: [ubuntu-latest]
@@ -9,8 +9,8 b' jobs:'
9 9 upload_anaconda:
10 10 name: Upload to Anaconda
11 11 runs-on: ubuntu-latest
12 # The artifacts cannot be uploaded on PRs
13 if: github.event_name != 'pull_request'
12 # The artifacts cannot be uploaded on PRs, also disable scheduled CI runs on forks
13 if: github.event_name != 'pull_request' && (github.event_name != 'schedule' || github.repository_owner == 'ipython')
14 14
15 15 steps:
16 16 - uses: actions/checkout@v3
@@ -15,6 +15,8 b' on:'
15 15 jobs:
16 16 test:
17 17 runs-on: ${{ matrix.os }}
18 # Disable scheduled CI runs on forks
19 if: github.event_name != 'schedule' || github.repository_owner == 'ipython'
18 20 strategy:
19 21 fail-fast: false
20 22 matrix:
General Comments 0
You need to be logged in to leave comments. Login now