gh icon indicating copy to clipboard operation
gh copied to clipboard

Assign or mention people when you create a pull request

Open jmnavarro opened this issue 10 years ago • 2 comments

It would be great to support assignment in the pr -s command.

Given that Github only allows to assign to one single person, if you want your PR to be reviewed by more than one person, we could mention them (using @username) in the comments

jmnavarro avatar Oct 20 '14 10:10 jmnavarro

Good, thanks @jmnavarro.

We need to add an --assignee option on gh pr.

zenorocha avatar Oct 20 '14 16:10 zenorocha

Note for ourselves:

Every pull request is an issue, but not every issue is a pull request. For this reason, “shared” actions for both features, like manipulating assignees, labels and milestones, are provided within the Issues API.

https://developer.github.com/v3/pulls/#create-a-pull-request https://developer.github.com/v3/issues/#edit-an-issue

zenorocha avatar Oct 20 '14 17:10 zenorocha