forgejo-mcp/operation/pull
David Turley 2524d8720e fix: check merged bool in MergePullRequestFn (#113)
SDK's MergePullRequest returns (bool, *Response, error) where the bool is
status == 200. err is nil for HTTP 4xx/5xx, so 405 (branch protection),
409 (conflict), and 403 (forbidden) all looked like successful merges.
Capture and check the bool; on false (and not merge_when_checks_succeed),
return the actual HTTP status in the error.

Thanks to @synath for the fix.
2026-05-02 12:03:10 +02:00
..
pull.go fix: check merged bool in MergePullRequestFn (#113) 2026-05-02 12:03:10 +02:00
review.go deps: ⬆️ migrate forgejo-sdk from v2 to v3 2026-03-27 23:53:31 +01:00