DEV Community

Discussion on: Travis CI added draft pull requests support

Collapse
 
mattipv4 profile image
Matt Cowley

I use WIP bot wherever possible, never touched draft PRs. I much prefer the simplicity of having โ€œ๐Ÿšงโ€ at the start of the title and then the pending bot check over the draft PR UI.

Collapse
 
glennmen profile image
Glenn Carremans

But there are benefits that draft PRs have that WIP bot can't provide.

  • There are multiple visible indicators that it is a draft PR, WIP is limited in this.
  • Draft PRs can't be merged, WIP bot can't block merges.
  • If you have a CODEOWNERS file in your repository, a draft pull request will suppress notifications to those reviewers until it is marked as ready for review.
Collapse
 
mattipv4 profile image
Matt Cowley

There are multiple visible indicators that it is a draft PR, WIP is limited in this.

I honestly prefer having the single indicator of the ๐Ÿšง emoji in the title.

Draft PRs can't be merged, WIP bot can't block merges.

It can... have branch protection rules in place that require all checks to pass :)

If you have a CODEOWNERS file in your repository, a draft pull request will suppress notifications to those reviewers until it is marked as ready for review.

Never personally worked on a project with code owners, either manually requested views or had a bot that requests reviews once all checks pass.