Merging the default branch into a PR, from the API (2 mins read).

How to use the GitHub API to merge main (or the default branch) into a given PR, from the API.
Back to /kind/articles/, 2026, July 2026.
Merging the default branch into a PR, from the API (2 mins read).

How to use the GitHub API to merge main (or the default branch) into a given PR, from the API.
← 26 July 2026 2 August 2026 →