draft property

  1. @experimental
bool? draft
final

Whether a draft PR should be created.

This is currently experimental functionality since the way draft PRs are created through Github's REST API is in developer preview only - and could change at any time.

Implementation

@experimental
final bool? draft;