Skip to content

Allow disable pr body as commit message when squash merge #15914

Closed
@viceice

Description

@viceice
  • Gitea version (or commit ref): 1.14.2
  • Git version: official gitea docker image from above
  • Operating system: official gitea docker (kubernetes helm)
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

Description

PR #13071 added the pr body to the squash commit message. I like to have an option to disable this behavior.
I'm using renovate to manage my dependencies and always squash my PR's.
The renovate PR descriptions can be very long because of changelogs, so i would like to exclude the content as i can do for commits with:

[repository.pull-request]
DEFAULT_MERGE_MESSAGE_COMMITS_LIMIT=0

I would be happy to help to add such an option if it is welcome. 🙃

Screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions