Repository navigation
Description
Problem
The ✅ Required PR Check mirror job in the consumer CI template hardcodes runs-on: ubuntu-latest, while every other CI job resolves the runner via the visibility-aware expression workflow-ci.yml uses (private CLDMV → cldmv-runners, public → ubuntu-latest, overridable via RUNS_ON_DEFAULT).
On private repos the GitHub-hosted Actions budget is exhausted, so private CI runs on self-hosted cldmv-runners. This one job can't get a hosted runner and fails to start (runner_id: 0, no steps, ~10s) — turning the required check red on every PR.
Drift
- v4.19.1 (2026-08-04,
4f7b2b21c) added the((github.repository_owner == 'CLDMV' && github.event.repository.private) && 'cldmv-runners' || 'ubuntu-latest')routing toworkflow-ci.yml's jobs (lines 238/258/271/414). examples/individual-repo-workflows/core-cicd/ci.yml's✅ Required PR Checkjobruns-onhas beenubuntu-latestsince 2025-09-08 and never got the update. The reusable's real jobs moved to self-hosted; the consumer mirror didn't.
Evidence
- gh-broker (private) run
31061960578onnext: all real jobs green oncldmv-runners;✅ Required PR Check= failure,labels: ["ubuntu-latest"],runner_id: 0, no steps, ~10s. - cpm (private) run
30968374551(chalk-6 bump): identical signature. - Public repos (envm, polyfillme) unaffected (free hosted minutes). Private releases on 08-03 passed (pre-exhaustion); every private run since ~08-05 fails the mirror.
- Because org bootstrap (08-03) made
✅ Required PR Checka genuinely required check, this blocks every PR on gh-broker, cpm, memcache.
Fix
In examples/individual-repo-workflows/core-cicd/ci.yml, change the ✅ Required PR Check job's runs-on to match the reusable (minus the inputs.runs_on it doesn't have):
runs-on: ${{ vars.RUNS_ON_DEFAULT != '' && vars.RUNS_ON_DEFAULT || ((github.repository_owner == 'CLDMV' && github.event.repository.private) && 'cldmv-runners' || 'ubuntu-latest') }}Public repos stay hosted; private route to self-hosted; RUNS_ON_DEFAULT overrides. The mirror is pure shell, so self-hosted runs it fine. Consumers (git-embedded golden reference + already-onboarded repos) need the same one-line change swept.
Possible sibling (flagging, not fixing here)
examples/individual-repo-workflows/release-flow-v4/v4-bootstrap.yml:83 also hardcodes runs-on: ubuntu-latest. A private repo dispatching v4-bootstrap while the hosted budget is exhausted would hit the same failure — but bootstrap may intentionally use hosted (e.g. to run before self-hosted access is configured). Maintainer's call whether it should adopt the same routing.
Activity
fix(ci): route Required PR Check mirror to cldmv-runners on private r…
cldmv-bot commentedon Aug 8, 2026
Closed in v4.19.3 — resolved by #209.
ci: sync v4 workflows with CLDMV/.github v4.29.0 templates