github4s
github4s copied to clipboard
Add merge pull request method
Implements https://docs.github.com/en/rest/reference/pulls#merge-a-pull-request
Reimplements closed #142
There is no integration test for createPullRequest provided, so it was unclear for me how to correctly implement same test for merge method, that why I skip integration test implementation sorry.
I can try to implement both tests by committing randomly generated file to test repo.
The issue is that this will be a bit noisy for watchers of the repo, however I think we can add some unit tests?