This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Mark pull request as depending on another #959
Open
Description
Quite often I find myself raising a pull request that contains another within it as a dependency. I want the diff to be exclusive of the dependency pull request’s changes, otherwise my colleagues end up reviewing more than they need to, or worse, the same changes twice (in both pull requests).
To workaround this, I usually set the base of my pull request to the dependency pull request, however this has caveats:
- When the dependency pull request is merged and the branch is deleted, the dependent pull request will be automatically closed.
- When the dependent pull request is merged, it is silently merged into the dependency pull request. This is usually not intentional.
I would like to see some UI in GitHub to make this workflow first class:
- Dependent pull requests should not be mergeable until all dependency pull requests have been merged