Add support for GitHub Draft PRs

GitHub released Draft PRs


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).

  • Joseph Becher
  • Feb 14 2019
  • Taking votes
  • Attach files
  • Bheemreddy Vennapureddy commented
    31 Jul 20:20


  • Ramiro Franco commented
    22 Jul 02:52


  • Max Harris commented
    15 Jul 21:14


  • Leo M commented
    08 Jul 18:09

    +1 !

  • Aleks Tgam commented
    17 Jun 03:38


  • Steve Tarver commented
    13 May 15:35

    This is a great way to allow people to collaborate on review, evolve code, without slowing down the build pipeline.

  • nirav gandhi commented
    07 May 11:33

    yes, please.

  • Andrei Tchijov commented
    28 Feb 11:28


  • Georgii Troshin commented
    09 Jan 10:03


  • Mandarin Drummond commented
    December 12, 2019 16:13

    We need this!

  • Andrew Hill commented
    December 04, 2019 08:19

    This request makes perfect sense since the introduction of Draft PR's on GitHub. Our team would benefit greatly from this feature.

  • Tony Spataro commented
    November 13, 2019 00:24

    My team's core need is to know when Circle is being invoked because of a draft pull request; we can `exit 0` as needed and therefore don't need a new workflow-job trigger just for draft PRs.


    Of course, if we had a workflow-job trigger condition, that would be even niftier. But we can do without, given an environment variable.

  • Spencer Hivert commented
    September 23, 2019 20:06


  • Dan Green-Leipciger commented
    August 13, 2019 14:59

    Any progress on this?

  • Kali commented
    August 06, 2019 13:58

    Anyone knows something about this support?

  • Eranga Manch commented
    July 01, 2019 04:50

    Would love to have this feature as well.

  • Marko Bari commented
    June 16, 2019 12:58

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

  • Joao Pereira commented
    May 12, 2019 08:45

    This would be a fantastic addition, you have my vote

  • Rob Grant commented
    April 30, 2019 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.

  • Egidio Caprino commented
    March 20, 2019 15:00

    We need this too 👍

  • Load older comments