From 87c6cda7013bd8b26537ba8fc4e75be88e5f6629 Mon Sep 17 00:00:00 2001 From: Shinrai Date: Sat, 8 Aug 2026 10:01:57 -0700 Subject: [PATCH] =?UTF-8?q?fix(ci):=20route=20Required=20PR=20Check=20mirr?= =?UTF-8?q?or=20job=20like=20the=20reusable=20(private=E2=86=92cldmv-runne?= =?UTF-8?q?rs)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Golden-reference copy of the CLDMV/.github#208 fix so future onboards copy the corrected template. The mirror job hardcoded runs-on: ubuntu-latest; match workflow-ci.yml's visibility-aware routing (private->cldmv-runners, public->ubuntu-latest, RUNS_ON_DEFAULT override). Refs CLDMV/.github#208 --- .github/workflows/ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b18b558..d89be9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -287,7 +287,13 @@ jobs: github.event.pull_request.head.ref == 'next' || github.event.pull_request.head.ref == 'hotfixes' ) - runs-on: ubuntu-latest + # Match the reusable's runner routing (workflow-ci.yml): private CLDMV + # repos run on self-hosted cldmv-runners (GitHub-hosted Actions budget is + # private-metered and exhausted), public repos use free GitHub-hosted, and + # RUNS_ON_DEFAULT overrides. Hardcoding ubuntu-latest here made this + # required check fail to provision a runner on private repos once the + # reusable moved its own jobs to cldmv-runners in v4.19.1 (see CLDMV/.github#208). + runs-on: ${{ vars.RUNS_ON_DEFAULT != '' && vars.RUNS_ON_DEFAULT || ((github.repository_owner == 'CLDMV' && github.event.repository.private) && 'cldmv-runners' || 'ubuntu-latest') }} # Pure shell mirror — no GitHub API access. Strip the workflow's # write defaults to zero for this job. permissions: {}