CircleCI Ideas

Add support for GitHub Draft PRs

GitHub released Draft PRs

 

https://twitter.com/github/status/1096093162345508864

 

We have users requesting we add support to not run against branches without a Draft PR, creating this feature request to gauge interest and inform prioritization

Here is the direct customer request:
```
It would be nice to have the option to run CI only on PRs which are not draft PRs, as they are intended as work in progress and ae likely to be in a broken state which is expected. The option to force trigger a build on such requests with an API call will be nice to so that developers can develop their own integrations like running CI on a comment in such a PR. And CI should be triggered as soon as the PR is marked as ready for review (not a draft anymore).

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Feb 14 2019
  • Taking votes
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    14 Feb 23:54

    Small correction - it would be nice to have option to run CI only on PRs which are not draft PRs, as they are intended as work in progress and ae likely to be in a broken state which is expected. Option to force trigger build on such requests with API call will be noce to so that developers can develop their own integratoons like running CI on comment in such PR. And CI should be triggereed as oon as PR is marked as ready for review (not a draft any more). Thanks!

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    15 Feb 00:23

    Thanks, I've updated the request to reflect the clarification.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    20 Mar 15:00

    We need this too 👍