Ask @copilot to make changes to any pull request
You can now mention @copilot in any pull request to ask Copilot to make changes. You can ask @copilot to:
- Fix failing GitHub Actions workflows:
@copilot Fix the failing tests - Address code review comments:
@copilot Address this comment - Make any other changes:
@copilot Add a unit test covering the case when the model argument is missing
Copilot coding agent works in its own cloud-based development environment where it can make changes, validate its work with your tests and linter, and then push.
Previously, Copilot would open a new pull request on top of your existing pull request, using the existing pull request’s branch as its base branch. If you still want this behavior, you can ask Copilot in natural language: @copilot open a PR to fix the failing tests
Copilot coding agent is available with all paid Copilot plans. If you’re a Copilot Business or Copilot Enterprise user, an administrator will have to enable Copilot coding agent before you can use it.
To learn more, see “Asking GitHub Copilot to make changes to an existing pull request” in the GitHub docs.