在 GitHub 上审查 PR 时,对于审查者来说是一个绝妙的选择 将多个评论添加为待处理,然后将它们作为评论提交给作者,并附上一个通知。
每条评论都有自己的回复和解决对话选项。 例如。如果评论有 10 条评论,而作者想回复其中的 9 条“已在提交 12345 中更新”, 审阅者将收到每个通知,这可能会很烦人。
是否可以对此类评论后的评论进行待处理并将其作为单个通知提交?
如果没有,我会向 GitHub 提交功能请求。
最佳答案
我找到了现有的 GitHub Feature request: writing PR comments in batch #1276
并发布了解决方法
The problem you described is correct if an author is using main “conversation” tab to reply to each reviewer’s comment. As a workaround author can switch to “Files changed” tab, and there is an option to keep all comments as “pending” and then submit all of them at once(simulating review of own PR)
It’s definitely not intuitive, and I would appreciate if GitHub will implement it properly for “conversation” tab
关于github - 如何批量发送GitHub PR 审后评论通知?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64948044/