Pull requests open after merge



I am trying to merge and close pull requests via an integration using PUT /repositories/:repository_id/pulls/:id/merge. This seems to work fine when we use an api key authentication, however when using an installation_id I’m getting left in the unusual position that a pull request is both merged but open. For an example [1].

Can you confirm for me if this is an integration problem or maybe i’m doing something else wrong.


[1] https://github.com/jamielennox/sandbox/pull/7
[2] https://github.com/jamielennox/sandbox/pull/9

Problem Merging Pull Requests


Hi @jamielennox :wave: Thanks for reporting this issue. I’ve opened a ticket to investigate and will update in this thread with our findings.


After a few back and forths with support this seems to be fixed - Thanks very much!