Skip to content
Discussion options

You must be logged in to vote

You can create a stack with the trunk as any arbitrary branch, not just your default branch (main). From what I'm understanding, I think the best path for you would be to create a stack where your release branch is the trunk branch, allowing other PRs to be merged into it. Then you will probably have a separate single PR for merging your release branch into main.

So your "release stack" could look something like this:

├ ...
├ bugfix/fix-issue-3
├ bugfix/fix-issue-2
├ bugfix/fix-issue-1
└ release/v1 (trunk)

If you're using the CLI, you can create this by providing a specific trunk branch: gh stack init --base release/v1

Then after the entire stack is merged, you could open a separate PR t…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@marcomasser
Comment options

Comment options

You must be logged in to vote
1 reply
@marcomasser
Comment options

Answer selected by marcomasser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Questions & Help topic: merge Stack merge stuck / hangs / fails / partial / auto-merge
3 participants