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 👍

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    30 Apr 13:11

    It would be good to filter certain tests against draft vs non-draft PRs. E.g. you might want to run unit tests on it, but not heavier weight integration (etc) tests.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    12 May 08:45

    This would be a fantastic addition, you have my vote

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    16 Jun 12:58

    Has there been progress made on this? Would love to have it

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    01 Jul 04:50

    Would love to have this feature as well.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    06 Aug 13:58

    Anyone knows something about this support?

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    13 Aug 14:59

    Any progress on this?