File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1818 codecov :
1919 name : Collect code coverage data
2020 runs-on : ubuntu-latest
21+ # Disable this scheduled job when running on a fork.
22+ if : ${{ github.repository == 'RustPython/RustPython' || github.event_name != 'schedule' }}
2123 steps :
2224 - uses : actions/checkout@v4
2325 - uses : dtolnay/rust-toolchain@stable
4446 testdata :
4547 name : Collect regression test data
4648 runs-on : ubuntu-latest
49+ # Disable this scheduled job when running on a fork.
50+ if : ${{ github.repository == 'RustPython/RustPython' || github.event_name != 'schedule' }}
4751 steps :
4852 - uses : actions/checkout@v4
4953 - uses : dtolnay/rust-toolchain@stable
7377 whatsleft :
7478 name : Collect what is left data
7579 runs-on : ubuntu-latest
80+ # Disable this scheduled job when running on a fork.
81+ if : ${{ github.repository == 'RustPython/RustPython' || github.event_name != 'schedule' }}
7682 steps :
7783 - uses : actions/checkout@v4
7884 - uses : dtolnay/rust-toolchain@stable
@@ -111,6 +117,8 @@ jobs:
111117 benchmark :
112118 name : Collect benchmark data
113119 runs-on : ubuntu-latest
120+ # Disable this scheduled job when running on a fork.
121+ if : ${{ github.repository == 'RustPython/RustPython' || github.event_name != 'schedule' }}
114122 steps :
115123 - uses : actions/checkout@v4
116124 - uses : dtolnay/rust-toolchain@stable
Original file line number Diff line number Diff line change 2121jobs :
2222 build :
2323 runs-on : ${{ matrix.platform.runner }}
24+ # Disable this scheduled job when running on a fork.
25+ if : ${{ github.repository == 'RustPython/RustPython' || github.event_name != 'schedule' }}
2426 strategy :
2527 matrix :
2628 platform :
8890
8991 build-wasm :
9092 runs-on : ubuntu-latest
93+ # Disable this scheduled job when running on a fork.
94+ if : ${{ github.repository == 'RustPython/RustPython' || github.event_name != 'schedule' }}
9195 steps :
9296 - uses : actions/checkout@v4
9397 - uses : dtolnay/rust-toolchain@stable
@@ -136,6 +140,8 @@ jobs:
136140
137141 release :
138142 runs-on : ubuntu-latest
143+ # Disable this scheduled job when running on a fork.
144+ if : ${{ github.repository == 'RustPython/RustPython' || github.event_name != 'schedule' }}
139145 needs : [build, build-wasm]
140146 steps :
141147 - name : Download Binary Artifacts
You can’t perform that action at this time.
0 commit comments