将审阅者添加到 GitHub 拉取请求
Adding a Reviewer to a GitHub Pull Request
在 bitbucket 中,我可以将审阅者添加到拉取请求中,表示我希望他们审阅该请求。我怎样才能在 GitHub 上做同样的事情?
我只看到“Assignee
”,只给一个人。我是否必须在拉取请求消息中对它们进行 ping and/or PR 评论?
是的,在 Github 中,您只能将 PR 分配给一个人。如果您想通知更多人,请在评论中提及他们。
自 2016 年 12 月以来,有一种更加集成的方式来通知您希望审核您的 PR 的人员。
参见“Introducing review requests”
You can now request a review explicitly from collaborators, making it easier to specify who you'd like to review your pull request.
You can also see a list of people who you are awaiting review from in the pull request page sidebar, as well as the status of reviews from those who have already left them.
如前所述 by Alexander Amelkin:
This feature is only for the owner of the repository, not for the author of the pull request.
The pull request author still can't request anyone to review his request.
The only way is to mention the person in a comment.
在 Pull Request 中,您可以指定一个团队作为审阅者,并发出适当的通知。但是,一旦发布评论,该团队就会从“请求的评论者”字段中删除,并替换为提交评论的用户。
在 bitbucket 中,我可以将审阅者添加到拉取请求中,表示我希望他们审阅该请求。我怎样才能在 GitHub 上做同样的事情?
我只看到“Assignee
”,只给一个人。我是否必须在拉取请求消息中对它们进行 ping and/or PR 评论?
是的,在 Github 中,您只能将 PR 分配给一个人。如果您想通知更多人,请在评论中提及他们。
自 2016 年 12 月以来,有一种更加集成的方式来通知您希望审核您的 PR 的人员。
参见“Introducing review requests”
You can now request a review explicitly from collaborators, making it easier to specify who you'd like to review your pull request.
You can also see a list of people who you are awaiting review from in the pull request page sidebar, as well as the status of reviews from those who have already left them.
如前所述
This feature is only for the owner of the repository, not for the author of the pull request.
The pull request author still can't request anyone to review his request.
The only way is to mention the person in a comment.
在 Pull Request 中,您可以指定一个团队作为审阅者,并发出适当的通知。但是,一旦发布评论,该团队就会从“请求的评论者”字段中删除,并替换为提交评论的用户。