Closed
Description
php-github-api/lib/Github/Api/PullRequest.php
Lines 148 to 165 in 325b315
We should check the $params
array if an option draft
exists and is set to true. If so we should set the preview accept-header application/vnd.github.shadow-cat-preview+json
See: https://developer.github.com/changes/2019-02-14-draft-pull-requests/