Description
The limitation that the source and target branch need to be on the same repository is a showstopper for my project's use of stacked PRs, and I expect it will similarly be so for almost any github project of nontrivial size. It's unreasonable to expect projects to grant all potential contributors branch creation permission, and my project would similarly consider it unreasonable to restrict stacked PR support to just some subset of trusted developers -- we don't want some developers to feel "second-class" to the extent we can avoid it.
I can understand how this restriction would arise -- presumably the repository associated with a PR is always the repository of the base branch, which requires the base branch (the previous PR in the stack) to be in the target repository for a stacked PR. But please consider ways in which it could be lifted, as the current limitation is a severe blocker to usage of this functionality.
Activity
skarim commentedon Apr 17, 2026
Yes support for Stacked PRs across forks will be coming in a future update! We haven't gotten to it yet, but it is a high priority for us and on our roadmap.
To start with, we will support a stack that is fully contained within a fork, where the entire stack targets the original repo.
For example, a contributor who has a fork (
user/buzz) of the original repo (org/buzz) could create the following stack:axel7083 commentedon Jul 17, 2026
We (podman-desktop) have recently been granted to use stacked PR for our organisation, however while trying it this morning I tried to create a stacked PR on my fork, and targeting our upstream repository, and the error message was mostly unclear, I had to dig out a bit, to understand the problem.
For our workflows, not being able to create a stack from fork's branches is a blocker as our team usually don't have permissions to push on the upstream repository.
In the meantime of this feature being implemented, it might be great to have a clear error message, so we understand what limitation we are facing.
Can't wait to see this feature support forks, as this is something I've been waiting for to use since the announcement!!
matanzvili commentedon Jul 22, 2026
+1
This would be a huge unlock for us. The same-repo limitation is the main thing keeping us from adopting stacked PRs in our workflow, since we rely heavily on fork-based contributions.
Is there any sense of the timeline for cross-fork support, or whether it's on the roadmap at all? Happy to help test it once something's available, we'd love to use it.
zhpeng811 commentedon Jul 31, 2026
this isn't working as of today, I tried just creating 2 branches on a fork
user/buzz(branch test-1 and test-2) and attempted to create 2 stacked PRs against the origin repoorg/buzz(branch master), it will just error the same way that @axel7083 described.IamCoder18 commentedon Aug 1, 2026
Any ETA yet, especially with the public release?
asmeurer commentedon Aug 9, 2026
Stacks from a single fork are very important and should be prioritized (for the projects I help maintain, all prs from all contributors must come from forks, even from admins). But for the future, stacks from multiple forks should also be implemented. It is very common that I'd like to base my work off of someone else's pull request.
jglick commentedon Aug 10, 2026
also: #18
JakubKorytko commentedon Aug 19, 2026
Bump, any update? 🙏
Unstack PR B: record that GitHub stacks do not work from a fork
wujingyue commentedon Sep 30, 2026
Thanks for committing to work on this feature!
Importantly, approvals for PRs
#2and#3should carry forward to their eventual merges intoorg/buzz:main, even though their initial base branches are inuser/buzz. My main motivation for using stacked PRs is to pipeline reviews: reviewers should be able to approve each layer while earlier layers are still pending. Once PR#1lands and PR#2is retargeted to org/buzz:main, I shouldn’t need to request another review solely because its base changed.behinddwalls commentedon Sep 30, 2026
Concrete public reproduction from today with an eight-layer stack:
tobi/walgitbehinddwalls/walgitREADThe local topology is:
But every upstream PR has to target
tobi:main. GitHub will not acceptbehinddwalls:issue-77as the base of a PR intobi/walgit, because that ref does not exist in the upstream repository. Opening the upper PRs against branches inbehinddwalls/walgitinstead would place those PRs in the fork, outside the upstream review queue.The result is that the PRs are only documented as a stack. They are not structurally stacked, and each upper PR contains the cumulative diff from every earlier layer. That creates redundant review work and makes independent approval of each layer impractical.
The behavior proposed above would solve this exact case:
with all eight PRs represented and reviewed as one stack in
tobi/walgit. Happy to test a preview implementation against this live stack.mkolesnik commentedon Oct 15, 2026
Stacked PRs is dead in the water without this, and it's sad to see half a year has passed with seemingly no progress or updates.
No large open source project will allow contributors to create branches, and creating the PR from your own fork is the only possible way to contribute (and is also the "GH" way AFAICT).
kapilsh commentedon Oct 27, 2026
Hi, any updates on this issue?
adamant-pwn commentedon Oct 28, 2026
Another case for the fork-contained stack described above. We contribute to xxsds/sdsl-lite from our organization's fork, without write access upstream. These pull requests all go from
ratschlab/sdsl-liteintoxxsds/sdsl-lite:master, and each waits on the one before it:Because the lower branches live in the fork, no upper pull request can target them upstream. The dependent ones stay drafts against
master, and each also shows the commits below it: #164 carries all 40 of #166's, so reviewers see them again in every layer. electron/electron#55427, which depends on electron/electron#55426, is the same pattern on a smaller scale.A stack owned by the fork and targeting the upstream trunk would cover the linear parts; #166 having three dependents would also need branching stacks. Is there an updated estimate for that first phase?
Nhan-Hoang commentedon Oct 29, 2026
+1 on this.
Any update from Github on this?