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