@@ -37,36 +37,40 @@ jobs:
3737 # not using a matrix as you cannot depend on a specific job in a matrix, and we want to start linux checks
3838 # without waiting for the macOS build
3939 build-and-test-macos :
40+ if : github.repository_owner == 'github'
4041 runs-on : macos-12-xl
4142 steps :
4243 - uses : actions/checkout@v4
4344 - uses : ./swift/actions/build-and-test
4445 build-and-test-linux :
46+ if : github.repository_owner == 'github'
4547 runs-on : ubuntu-latest-xl
4648 steps :
4749 - uses : actions/checkout@v4
4850 - uses : ./swift/actions/build-and-test
4951 qltests-linux :
52+ if : github.repository_owner == 'github'
5053 needs : build-and-test-linux
5154 runs-on : ubuntu-latest-xl
5255 steps :
5356 - uses : actions/checkout@v4
5457 - uses : ./swift/actions/run-ql-tests
5558 qltests-macos :
56- if : ${{ github.event_name == 'pull_request' }}
59+ if : ${{ github.repository_owner == 'github' && github.event_name == 'pull_request' }}
5760 needs : build-and-test-macos
5861 runs-on : macos-12-xl
5962 steps :
6063 - uses : actions/checkout@v4
6164 - uses : ./swift/actions/run-ql-tests
6265 integration-tests-linux :
66+ if : github.repository_owner == 'github'
6367 needs : build-and-test-linux
6468 runs-on : ubuntu-latest-xl
6569 steps :
6670 - uses : actions/checkout@v4
6771 - uses : ./swift/actions/run-integration-tests
6872 integration-tests-macos :
69- if : ${{ github.event_name == 'pull_request' }}
73+ if : ${{ github.repository_owner == 'github' && github.event_name == 'pull_request' }}
7074 needs : build-and-test-macos
7175 runs-on : macos-12-xl
7276 timeout-minutes : 60
0 commit comments