github / github/gh-stack

[Feature request] add `each` mode to batch edit PRs in a stack

未關閉
#441 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
feature request topic: reviews
主要語言
Go
星號
1.5k
分支
70
平均合併
1 天 8 小時
30 天內合併 PR
7

描述

If I want to request the review of each PR to a list of collaborators, I need to loop `gh stack up && gh pr edit --add-reviewer ...` for each PR in the stack, while with:
```sh
$ gh stack each edit --add-reviewer ....
```
the `edit --add-reviewer` command could be applied to each PR of the stack automatically with a single request.

If we would like to limit the `each` scope only to the `pr edit` action, then we could simplify it as:
```sh
$ gh stack each --add-reviewer ....
```

貢獻指南

開啟貢獻指南

研究方向

首先追蹤現有的 `gh stack up` 和 `gh pr edit` 入口,以及如何取得 stack 的 PR 清單。比較提出的兩種命令形式,然後將完成定義為透過一次呼叫將要求的編輯套用至 stack 中的每個 PR,同時包括對所選介面的涵蓋。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
github, go
領域
cli
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。