How to determine if a pull request is a draft inside travis build

Viewed 132

Is there a way to detect if a github pull request is a draft pull-request within a travis build? There is a draft label in travis' UI. This is also stated in the documentation.

But there seems to be no environment variable inside a build, that tells if the current PR is a draft PR. Is there any other way to tell?

0 Answers
Related