Closed manchicken closed 4 months ago
Endpoint POST /repos/{owner}/{repo}/merges has statuses 201,204,403,404,409,422: Merge a branch
POST /repos/{owner}/{repo}/merges
If a branch has already been merged, this call will return a 204. We need to add a test here to make sure that if something is already merged that it works.
Ref: https://docs.github.com/en/enterprise-cloud@latest/rest/branches/branches?apiVersion=2022-11-28#merge-a-branch
Endpoint
POST /repos/{owner}/{repo}/merges
has statuses 201,204,403,404,409,422: Merge a branch