Hi, according to docs, the auto-merge parameter is enabled by default. When the ref branch is behind default branch, the response code is 202, and an error is raised because it expect a 201 code.
Also, I think that add the option to set auto-merge can be useful.
Thank you a lot, you've made a great work.