Skip to content

Copilot cannot be assigned to PRs #61

@nozaq

Description

@nozaq

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:

  1. Go to any Pull Request detail page.
  2. Click on 'Assignees' on the right side panel.
  3. Type 'Copilot'.
  4. 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.

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions