Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#441 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
github, go
Domain
cli

Research direction

Start by tracing the existing gh stack up and gh pr edit entry points and how a stack's PR list is obtained. Compare the two proposed command forms, then define completion as applying the requested edit to every PR in the stack with one invocation, including coverage for the chosen interface.

Written by the indexing model from the issue text.

Description

feature request topic: reviews

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:

$ 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:

$ gh stack each --add-reviewer ....
Dominant language
Go
Stars
1.5k
Forks
73
Avg merge
1d 8h
Merged PRs (30d)
7

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/gh-stack

All issues in github/gh-stack

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.