134
Add support for GitHub Draft PRs
J
Joseph
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. 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 are 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).
CCI-I-883
Activity
Newest
Oldest
Erin Spannan
This would be extremely useful for our workflow. We have a distributed team that collaborates frequently through PRs, using them as the basis for discussion even before the code is in a testable state.
Tom Sturge
This is a very necessary feature. Having CI run on a WIP is pointless and expensive, only PRs ready for review should be able to trigger CI builds.
Mathieu
+1
Xavier Portilla Edo (xavidop)
+1!!
e
eric.torreborre@symbiont.io
+1 on this request!
Ed Salter
Pray
Vital Ryabchinskiy
some workaround for Github Draft PR https://github.com/vitalinfo/circleci-cancel-draft
J
James Klein
Vital Ryabchinskiy: The $PULL_REQUEST env var isn't set by default from CI so your workflow doesn't work
Vital Ryabchinskiy
James Klein: CI sets
$CIRCLE_PULL_REQUEST
, what is using in the workflowDan Green
Any progress on this?
B
Bheemreddy Vennapureddy
+1
R
Ramiro Franco
+1
Load More
→