Leverage GitHub Copilot code review to promote code quality and catch issues before they reach production.
-
Who is this for: Developers familiar with GitHub Copilot who want to scale code review
-
What you'll learn: How to use GitHub Copilot for automated code reviews, customize review criteria, and set up automatic reviews
-
What you'll build: You'll update the Mergington High School extracurricular activities website and customize Copilot to automatically review pull requests for you, enabling more teachers to contribute.
-
Prerequisites:
- GitHub Copilot subscription (paid plan is required)
- Familiarity with reviewing code in pull requests
- Familiarity with Codespaces, or Code with Codespaces Skills exercise
- Familiarity with GitHub Copilot, or Getting Started with GitHub Skills exercise
-
How long: This exercise takes less than 1 hour to complete.
In this exercise, you will:
- Use GitHub Copilot to review code directly in VS Code for immediate feedback
- Request Copilot code reviews on pull requests
- Customize Copilot's review considerations with repository-specific instructions
- Configure automatic code reviews using repository rulesets
Simply copy the exercise to your account, then give your favorite Octocat (Mona) about 20 seconds to prepare the first lesson, then refresh the page.
Having trouble? 🤷
When copying the exercise, we recommend the following settings:
-
For owner, choose your personal account or an organization to host the repository.
-
We recommend creating a public repository, since private repositories will use Actions minutes.
If the exercise isn't ready in 20 seconds, please check the Actions tab.
-
Check to see if a job is running. Sometimes it simply takes a bit longer.
-
If the page shows a failed job, please submit an issue. Nice, you found a bug! 🐛
© 2025 GitHub • Code of Conduct • MIT License