fix(FM): fm-pr-merge Forgejo merge payload and error reporting #9
Loading…
Reference in a new issue
No description provided.
Delete branch "fm/fm-pr-merge-forgejo-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
fm-pr-merge.sh could not merge a Forgejo pull request. It sent the merge request as form data where the API expects JSON, so the merge method never arrived and the server rejected it with a bare 422.
That mattered beyond the bug: the helper exists so merges are recorded and guarded, and when it failed on a healthy pull request the operator merged by hand instead - the guard was bypassed because the guarded path was broken.