Skip to content

Commit 621a162

Browse files
committed
fix(ci): Turn off nightly CI for forks (for windows)
We tried to do this in 2074, but didn't disable Windows. Signed-off-by: Larry Gritz <lg@larrygritz.com>
1 parent 481852f commit 621a162

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ jobs:
566566

567567

568568
windows:
569-
if: ${{ ! contains(github.ref, 'linux-only') && ! contains(github.ref, 'macos-only') && ! contains(github.ref, 'optix-only') }}
569+
if: ${{ (github.event.repository.fork == false || github.event_name != 'schedule') && ! contains(github.ref, 'linux-only') && ! contains(github.ref, 'macos-only') && ! contains(github.ref, 'optix-only') }}
570570
name: "${{matrix.desc}}"
571571
uses: ./.github/workflows/build-steps.yml
572572
with:

0 commit comments

Comments
 (0)