Skip to content

Run Copilot code review on GitHub-hosted runners - #55

Merged
iamimmanuelraj merged 1 commit into
mainfrom
add/copilot-code-review-runner
Aug 13, 2026
Merged

Run Copilot code review on GitHub-hosted runners#55
iamimmanuelraj merged 1 commit into
mainfrom
add/copilot-code-review-runner

Conversation

@rtBot

@rtBot rtBot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

This repository is public, so Copilot code review cannot use rtCamp self-hosted Actions Runner Controller scale sets, which are not exposed to public repositories.

Adds .github/workflows/copilot-code-review.yml, which pins Copilot code review to ubuntu-latest. The file takes precedence over copilot-setup-steps.yml and over the organization-level runner type for Copilot code review only; Copilot cloud agent keeps using the organization configuration.

No dependencies are installed: Copilot clones the repository and provisions what it needs itself. Repository-specific setup steps can be added to this file later if a review needs extra tooling.

Docs: https://docs.github.com/en/copilot/how-tos/copilot-on-github/set-up-copilot/configure-runners

Copilot AI balanced review requested due to automatic review settings August 13, 2026 09:23

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Adds a repository-level Copilot code review setup workflow so public repos use GitHub-hosted runners (instead of org/self-hosted ARC runner scale sets) for Copilot code review setup steps.

Changes:

  • Introduces .github/workflows/copilot-code-review.yml defining the required copilot-setup-steps job
  • Configures the job to run on a GitHub-hosted Ubuntu runner with minimal, no-op setup steps

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

jobs:
# The job must be named `copilot-setup-steps`, or Copilot ignores this file.
copilot-setup-steps:
runs-on: ubuntu-latest
Comment on lines +5 to +10
push:
paths:
- .github/workflows/copilot-code-review.yml
pull_request:
paths:
- .github/workflows/copilot-code-review.yml
Comment on lines +21 to +22
- name: Start Review
run: echo "Starting Review."

@iamimmanuelraj iamimmanuelraj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving: adds the standard org-wide Copilot code review runner config. No product code touched.

@iamimmanuelraj
iamimmanuelraj merged commit cf71ce0 into main Aug 13, 2026
6 of 7 checks passed
@iamimmanuelraj
iamimmanuelraj deleted the add/copilot-code-review-runner branch August 13, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants