POST /repos/{owner}/{repo}/pulls/{index}/merge with fast-forward-only don't respect merge_when_checks_succeed #15058

Open
opened 2025-11-02 11:29:11 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @ZBSTooling on GitHub (Oct 27, 2025).

Description

When the repository is configured with only one Merge-Style 'fast-forward-only' and renovate creates autoMerge Requests with the following payload the PR is fast-forwarded immediatley without waiting for successfull status checks.

{ "Do": "fast-forward-only", "delete_branch_after_merge": true, "merge_when_checks_succeed": true }

Gitea Version

1.24.7

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Gitea is running with docker-compose

Database

PostgreSQL

Originally created by @ZBSTooling on GitHub (Oct 27, 2025). ### Description When the repository is configured with only one Merge-Style 'fast-forward-only' and renovate creates autoMerge Requests with the following payload the PR is fast-forwarded immediatley without waiting for successfull status checks. `{ "Do": "fast-forward-only", "delete_branch_after_merge": true, "merge_when_checks_succeed": true }` ### Gitea Version 1.24.7 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? Gitea is running with docker-compose ### Database PostgreSQL
GiteaMirror added the topic/apitype/bug labels 2025-11-02 11:29:11 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15058