From b4c770b48b0e402efb3ec0df537ad128ba82516c Mon Sep 17 00:00:00 2001 From: saka Date: Thu, 19 Nov 2026 15:15:42 +0100 Subject: [PATCH] ci: let the runner pool route jobs via CI_* variables Both CI jobs now read their runner labels from the CI_LINUX repository variable written by the runner-pool controller. When the variable is unset (for example on fork pull requests) they fall back to ubuntu-latest, the label they use today. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7541a09..0adac7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,8 @@ permissions: contents: read jobs: offline: - runs-on: ubuntu-latest + # Runner pool routing: CI_* repository variables pick the runner; the literal is the default. + runs-on: ${{ fromJSON(format(vars.CI_LINUX || '["ubuntu-latest"]', github.run_id, github.run_attempt)) }} steps: - uses: actions/checkout@v7 - uses: actions/setup-node@v7 @@ -23,7 +24,7 @@ jobs: - run: npm run generate-wire-schema && npm run generate-response-types - run: git diff --exit-code -- lib/wire-schema.json types/responses.d.ts packed-consumers: - runs-on: ubuntu-latest + runs-on: ${{ fromJSON(format(vars.CI_LINUX || '["ubuntu-latest"]', github.run_id, github.run_attempt)) }} steps: - uses: actions/checkout@v7 - uses: actions/setup-node@v7