Skip to content

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

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

Run Copilot code review on GitHub-hosted runners#191
iamimmanuelraj merged 1 commit into
developfrom
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:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 to force Copilot code review jobs onto GitHub-hosted runners (ubuntu-latest) for this public repository.

Changes:

  • Introduces .github/workflows/copilot-code-review.yml with the required copilot-setup-steps job name.
  • Pins the runner for Copilot code review setup to ubuntu-latest.
  • Defines minimal steps and least-privilege permissions for the setup job.

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

Comment on lines +5 to +10
push:
paths:
- .github/workflows/copilot-code-review.yml
pull_request:
paths:
- .github/workflows/copilot-code-review.yml
jobs:
# The job must be named `copilot-setup-steps`, or Copilot ignores this file.
copilot-setup-steps:
runs-on: ubuntu-latest
@iamimmanuelraj
iamimmanuelraj merged commit 4d24447 into develop Aug 13, 2026
6 of 7 checks passed
@iamimmanuelraj
iamimmanuelraj deleted the add/copilot-code-review-runner branch August 13, 2026 09:44
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