From 5f89def2ceb4dbcbc76b2637e4702f001a27c308 Mon Sep 17 00:00:00 2001 From: Adrian Castro <22133246+castdrian@users.noreply.github.com> Date: Sat, 1 Aug 2026 23:43:08 +0200 Subject: [PATCH] ci: select hosted runners for forks --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab2444c9..de8fad26 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: name: iOS build needs: ios-changes if: needs.ios-changes.outputs.changed == 'true' - runs-on: macos-latest + runs-on: ${{ fromJSON(github.repository == 'bryanthaboi/gen1recomp' && '["self-hosted", "macOS"]' || '"macos-latest"') }} steps: - uses: actions/checkout@v4 - name: install xcbeautify diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ca8c37e..fb1b313f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,7 +42,7 @@ concurrency: jobs: release: - runs-on: [self-hosted, macOS] + runs-on: ${{ fromJSON(github.repository == 'bryanthaboi/gen1recomp' && '["self-hosted", "macOS"]' || '"macos-latest"') }} steps: # The self-hosted runner lives under the machine owner's home