draft property

  1. @experimental
bool? draft
getter/setter pair

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
bool? draft;