fix(pr_merge): send Gitea's merge_title_field (gitea-mcp#77) (#82)
CD / Deploy via GitOps (push) Successful in 7s
CD / Lint / Test / Vet (push) Successful in 12s
CD / Build & Import (push) Successful in 5s

Co-authored-by: Mathias <mthbqv@gmail.com>
This commit was merged in pull request #82.
This commit is contained in:
2026-10-10 08:50:06 +00:00
committed by mathias
parent e8521c2555
commit 5c6c4f1e1e
2 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ func (c *Client) GetPullRequestDiff(ctx context.Context, owner, repo string, ind
type MergePRArgs struct {
Do string `json:"Do"`
Title string `json:"merge_message_title,omitempty"`
Title string `json:"merge_title_field,omitempty"`
Body string `json:"merge_message_field,omitempty"`
// HeadCommitID binds the merge to the commit whose CI was checked: if the PR branch moved, Gitea refuses.
HeadCommitID string `json:"head_commit_id,omitempty"`