Skip to content

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

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

Run Copilot code review on GitHub-hosted runners#89
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 GitHub Actions workflow to force Copilot code review “setup steps” to run on GitHub-hosted runners (instead of org/self-hosted runner scale sets), appropriate for a public repository.

Changes:

  • Introduces .github/workflows/copilot-code-review.yml with the required copilot-setup-steps job.
  • Sets the job runner to ubuntu-latest and keeps setup as a no-op step.
  • Limits permissions to contents: read.

💡 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
contents: read

steps:
- name: Start 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 ebd6dec into main Aug 13, 2026
25 of 26 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