Skip to content

Set default merge strategy for pull requests #17741

@MahdiGhiasi

Description

@MahdiGhiasi

Feature Description

Currently Gitea shows a green "Merge" button, and one can change the merge strategy by clicking the arrow next to it.

It would be nice to be able to change the default, in our case making "Squash and Merge" the default merge option, to avoid mistakenly pressing the default merge button (we usually squash, unless there's a reason not to).

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions