Lari Hotari
08/13/2026, 8:35 AMgh CLI is at github.com/github/gh-stack:
• gh extension install github/gh-stack — CLI extension
• gh skill install github/gh-stack — AI agent skill
Note: all head branches in a stack must be pushed to the base repository where the PRs are opened — cross-fork stacks aren't supported, so you need push access to the repo.
I tried it for the first time in github.com/apache/pulsar/pull/26322.
One caveat: modifying a lower PR in the stack updates the branches above it, which triggers CI for every PR in the stack — that can burn a lot of CI resources. For apache/pulsar, I opened github.com/apache/pulsar/pull/26323 to skip CI unless the PR is at the bottom of the stack.Lari Hotari
08/13/2026, 9:03 AM