Repository navigation
fix(ci): route Required PR Check mirror job like the reusable (private→cldmv-runners) - #209
Conversation
…e→cldmv-runners) The ✅ Required PR Check mirror job hardcoded runs-on: ubuntu-latest while workflow-ci.yml (since v4.19.1) routes private CLDMV repos to self-hosted cldmv-runners. On private repos the GitHub-hosted Actions budget is exhausted, so the mirror could not provision a runner and failed the required check on every PR. Match the reusable's visibility-aware routing (private→cldmv-runners, public→ubuntu-latest, RUNS_ON_DEFAULT override). Refs #208
There was a problem hiding this comment.
Pull request overview
Aligns the example “Required PR Check” mirror job’s runner selection with the org reusable CI workflow so the required check can provision runners correctly in CLDMV-owned private repositories (where GitHub-hosted minutes are metered/exhausted).
Changes:
- Route the
required-checkjob tocldmv-runnersfor CLDMV-owned private repos, while keepingubuntu-latestfor public repos. - Respect
vars.RUNS_ON_DEFAULTas an override, matching the reusable workflow’s routing behavior. - Add inline rationale documenting why
ubuntu-latesthardcoding breaks required checks for private repos.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Resolves #208 — closed when this ships to the default branch. Verified: the diff routes the Remaining after this merges (tracked on #208): sweep the same one-line |
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
📦 Dependencies
No dependency updates
🔧 Other Changes
No other changes
👥 Contributors