Skip to content

Workflow for converting normal PR into stacked PRs #121

@micahjsmith

Description

@micahjsmith

Imagine that I have a feature branch where I've already created a PR. Afterwards, I want to stack another PR on top of this using stack-pr tool. What is the right workflow to achieve that?

What I'd like to do is add metadata to the first commit in my feature branch that indicates that it already has a PR. Then stack-pr tool should manage that PR going forward, including updating it the next time I run stack-pr submit to add the stack pointers.

Known workarounds is to commit to the current feature branch, close the current PR, just run stack-pr normally => new PRs will be created. This isn't ideal because you lose any code review on the current PR and add extra noise to the github feed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions