php-github-api icon indicating copy to clipboard operation
php-github-api copied to clipboard

Merging a pull request (Not found in the docs)

Open softower opened this issue 5 years ago • 1 comments

I see that merging a pull request is possible but I couldn't find it in the docs in this repo. Is the document not updated or the feature itself is not available?

https://developer.github.com/v3/pulls/#merge-a-pull-request-merge-button

softower avatar Apr 24 '20 12:04 softower

The docs entry is indeed missing, but the api code covers this method https://github.com/KnpLabs/php-github-api/blob/5eb55ce410e499b505f590aa20492e14fcf252f6/lib/Github/Api/PullRequest.php#L181-L202

If you can open a pr and add a docs entry for it would be appreciated. Thanks!

acrobat avatar Apr 24 '20 13:04 acrobat