Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Expose "draft" PR property #58

@thomas-riccardi

Description

@thomas-riccardi

GitHub recently added the concept of Draft Pull Request: https://github.blog/2019-02-14-introducing-draft-pull-requests/

It seems to be a useful property to expose in this plugin, for example to early abort a build.

The value is not yet available by default in the v3 API though:
https://developer.github.com/v3/pulls/#get-a-single-pull-request

The Draft Pull Request API is currently available for developers to preview. [...] To access the API during the preview period, you must provide a custom media type in the Accept header

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions