-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Describe the bug
A clear and concise description of what the bug is.
Currently the only way to assign Copilot to pull requests is to assign Copilot to an issue then let it create a PR. Once Copilot is unassigned from the PR, it cannot be assigned back.
It should be possible to assign Copilot to pull requests, not just issues.
To Reproduce
Steps to reproduce the behavior:
- Go to any Pull Request detail page.
- Click on 'Assignees' on the right side panel.
- Type 'Copilot'.
- No user appears.
Expected behavior
'Copilot' user is shown as an assignee candidate so we can assign Copilot to the PR.
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
Related thread: https://github.com/orgs/community/discussions/159068#discussioncomment-13409799
This becomes especially problematic when you want another reviewer to review a PR that Copilot created on behalf of your account.
If the reviewer leaves a comment, Copilot will pick it up and automatically start a session to respond to it without your approval.
To prevent this behavior, you need to unassign Copilot from the PR first, so that you and the reviewer can discuss it without triggering a new Copilot session.
However, due to this issue, you aren't able to reassign Copilot to the PR afterward, so Copilot cannot continue working on the PR after the code review.