CI: move all workflows to repository runners#3
Merged
Conversation
|
🤖 Hi @apstenku123, I've received your request, and I'm working on it now! You can track my progress in the logs for more details. |
There was a problem hiding this comment.
Pull request overview
Moves GitHub Actions CI workflows off GitHub-hosted *-latest runners and onto the repository’s registered self-hosted Linux/macOS runners, adding a regression test to enforce the policy going forward.
Changes:
- Replaces
runs-on: *-latestwith self-hosted runner label sets across Pages, Gemini automation, and E2E workflows. - Updates E2E workflow to bind the backend to the
setup-pythoninterpreter and adjusts Playwright browser install for macOS runners. - Adds a policy test to forbid
*-latestrunners and wires it into the self-hosted CI workflow.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/test_workflow_runner_policy.py | Adds a test intended to prevent use of GitHub-hosted *-latest runners in workflows. |
| .github/workflows/vbgui-pages.yml | Moves Pages build/deploy jobs onto the self-hosted Linux runner. |
| .github/workflows/gemini-triage.yml | Moves Gemini triage reusable workflow jobs onto the self-hosted Linux runner. |
| .github/workflows/gemini-scheduled-triage.yml | Moves scheduled triage jobs onto the self-hosted Linux runner. |
| .github/workflows/gemini-review.yml | Moves Gemini review reusable workflow onto the self-hosted Linux runner. |
| .github/workflows/gemini-plan-execute.yml | Moves plan/execute workflow onto the self-hosted Linux runner. |
| .github/workflows/gemini-invoke.yml | Moves invoke workflow onto the self-hosted Linux runner. |
| .github/workflows/gemini-dispatch.yml | Moves dispatch/debugger/fallthrough jobs onto the self-hosted Linux runner. |
| .github/workflows/e2e-matrix.yml | Moves E2E workloads onto the self-hosted macOS runner; binds Python and adjusts Playwright install. |
| .github/workflows/ci-self-hosted.yml | Adds the new runner-policy test to the CI test lists. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
57
to
+61
| github.event.sender.type == 'User' && | ||
| startsWith(github.event.comment.body || github.event.review.body || github.event.issue.body, '@gemini-cli') && | ||
| contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association || github.event.review.author_association || github.event.issue.author_association) | ||
| ) | ||
| runs-on: 'ubuntu-latest' | ||
| runs-on: [self-hosted, Linux, X64, cppmega-mlx] |
Comment on lines
+8
to
+18
| HOSTED_RUNNER = re.compile( | ||
| r"^\s*runs-on:\s*.*(?:ubuntu|macos|windows)-latest\s*$", | ||
| re.MULTILINE, | ||
| ) | ||
|
|
||
|
|
||
| def test_workflows_do_not_use_github_hosted_runners() -> None: | ||
| violations = [] | ||
| for workflow in sorted((REPO_ROOT / ".github" / "workflows").glob("*.yml")): | ||
| if HOSTED_RUNNER.search(workflow.read_text(encoding="utf-8")): | ||
| violations.append(workflow.relative_to(REPO_ROOT).as_posix()) |
|
🤖 I'm sorry @apstenku123, but I was unable to process your request. Please see the logs for more details. |
apstenku123
force-pushed
the
codex/self-hosted-workflows
branch
from
July 13, 2026 21:25
d0f9eba to
ada15bc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves MLX E2E, automation, Pages, and contract workflows to the registered repository Linux/macOS runners.
Verification: policy test, YAML parse, git diff check.