mirror of
https://github.com/apple/swift-nio
synced 2026-11-27 05:04:22 +00:00
ci: only run self-hosted ci on apple runners (#3468)
Limit Darwin Job execution to apple org. ### Motivation: When the repo is forked, the forks do not have access to the self-hosted CI, so it should not block actions in the forked environment. ### Modifications: Conditionalize Darwin job execution. ### Result: macOS CI will not queue on forks.
This commit is contained in:
1 parent
1268babbc1
commit
92a262f376
1 file changed
+1
@@ -425,6 +425,7 @@ jobs:
|
||||
darwin-job:
|
||||
name: ${{ matrix.config.name }}
|
||||
needs: construct-matrix
|
||||
if: github.repository_owner == 'apple'
|
||||
runs-on: [self-hosted, macos, "${{ matrix.config.os }}", "${{ matrix.config.arch }}", "${{ matrix.config.pool }}"]
|
||||
timeout-minutes: 30
|
||||
strategy:
|
||||
|
||||
Reference in new issue
Block a user