mapbox / mapbox/github-release-tools
Request review from original PR author when backporting a PR you reviewed
未关闭
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 16
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
描述
Currently if you backport a PR of behalf of someone else, and you were the approving reviewer on the original PR, backport will attempt to request a review on the new PR from yourself, which Github denies:
{ HttpError: {"message":"Review cannot be requested from pull request author.","documentation_url":"https://developer.github.com/v3/pulls/review_requests/#create-a-review-request"}
...
It should instead request a review from the original author.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先跟踪在新的 pull request 上请求 reviews 的 backport 流程。复现 backporter 批准了原始 pull request 的情况,然后验证该请求的目标是原作者而不是 backporter,并且 GitHub 不再拒绝该请求。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- release
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 35/100