From 92a262f37661f97abc3e89161e6aaeeefe71c9d9 Mon Sep 17 00:00:00 2001 From: Mike Drob Date: Tue, 23 Dec 2025 02:11:06 -0600 Subject: [PATCH] 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. --- .github/workflows/macos_tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/macos_tests.yml b/.github/workflows/macos_tests.yml index ca93d9a98..c8868359f 100644 --- a/.github/workflows/macos_tests.yml +++ b/.github/workflows/macos_tests.yml @@ -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: