# How to close pull requests faster with Copilot code review | GitHub Checkout

Source: https://www.youtube.com/watch?v=8hyvYP5PCks
Recap page: https://rapidrecap.app/video/8hyvYP5PCks
Generated: 2025-12-02T15:04:14.84+00:00

---
## Quick Overview

GitHub Copilot Code Review can close pull requests 43% faster by automating repetitive review tasks, adding context for reviewers, and integrating static analysis tools like CodeQL, resulting in increased user retention and quality improvements.

**Key Points:**
- GitHub Copilot Code Review accelerates PR closure by 43% for users who adopt it as part of their review process.
- The feature automates repetitive review tasks, adds contextual information for reviewers, and integrates tools like CodeQL and ESLint.
- The tool provides a PR Overview summarizing key changes, which helps reviewers quickly understand the pull request content.
- Custom repository instructions can be leveraged to guide the AI reviewer's focus and ensure reviews align with organizational standards.
- GitHub Actions workflows dynamically orchestrate the review process, using an agent to pull necessary context and run various analysis tools in parallel.
- Early user feedback shows increased retention and massive quality improvements in reviews through this automated assistance.

![Screenshot at 00:10: Elle Shwer demonstrates the 'github checkout' command, indicating the technical nature of the workflow being discussed for setting up the demonstration environment.](https://ss.rapidrecap.app/screens/8hyvYP5PCks/00-00-10.png)

**Context:** This video features Elle Shwer, Senior Product Manager at GitHub, discussing the benefits and implementation of the newly announced GitHub Copilot Code Review feature, which is currently in public preview at Universe. The discussion focuses on how this AI assistance streamlines the code review process for developers, especially in enterprise and business settings.

## Detailed Analysis

Elle Shwer details how GitHub Copilot Code Review speeds up PR closure by 43% for users who integrate it into their workflow. This acceleration comes from automating repetitive review steps, providing contextual summaries, and integrating static analysis tools like CodeQL and ESLint. The process involves setting up a custom GitHub Action workflow that dynamically orchestrates the review, using an agent to fetch necessary context like PR files and run analyses. Shwer shows an example PR where Copilot automatically requested a review, provided a summary of key changes, and suggested fixes for issues like a missing 'await' keyword before an async function call. Furthermore, repository-level custom instructions allow organizations to tailor the AI's review focus to their specific coding standards and quality expectations, ensuring consistency across all reviews, even for specialized security tools like CodeQL. The positive feedback from early users indicates improved retention and significant quality gains in the review process.

### GitHub Copilot Code Review Benefits

- Accelerates PR closure by 43%
- Increases user retention
- Improves review quality through deterministic tools and context folding

### Demonstration of Automated Review

- Shows the GitHub Action workflow running, including steps like 'Prepare', 'Autovalidate', and 'Agent'
- Highlights specific comments from Copilot, such as fixing a missing 'await' keyword and an inconsistency in input naming ('pull-request-number' vs 'pr-number')

### Customization and Configuration

- Explains configuration via repository settings under 'Copilot' -> 'Code review'
- Features toggles for using custom instructions and automatically requesting review for new/draft PRs
- Mentions leveraging repository custom instructions (e.g., for MD files) to guide the AI's focus

### Agent Workflow and Tool Integration

- The agent uses various tools like CodeQL and ESLint in parallel for analysis
- The agent pulls context from the PR and uses custom instructions to inform its review
- The final review output is a markdown table summarizing language distribution

![Screenshot at 00:04: Elle Shwer stating that users using Copilot Code Review close PRs 43% faster.](https://ss.rapidrecap.app/screens/8hyvYP5PCks/00-00-04.png)
![Screenshot at 00:10: A terminal displaying the command '$ github checkout', setting up the demonstration environment.](https://ss.rapidrecap.app/screens/8hyvYP5PCks/00-00-10.png)
![Screenshot at 01:25: The commit dialog box generated by Copilot, suggesting a commit message and branch creation for the implemented changes.](https://ss.rapidrecap.app/screens/8hyvYP5PCks/00-01-25.png)
![Screenshot at 02:05: The GitHub Actions workflow runs displayed, showing the 'Agent' job is starting, which orchestrates the review process.](https://ss.rapidrecap.app/screens/8hyvYP5PCks/00-02-05.png)
![Screenshot at 04:19: Copilot suggesting a fix for a missing 'await' keyword before an asynchronous function call, illustrating direct code suggestions.](https://ss.rapidrecap.app/screens/8hyvYP5PCks/00-04-19.png)
