-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
Description
Description
When using the merge commit strategy for a pull request it is possible for unofficial approvers to be duplicated in the commit message trailers.
The requirements to trigger this scenario:
-
app.ini
[repository.pull-request]
DEFAULT_MERGE_MESSAGE_OFFICIAL_APPROVERS_ONLY = false -
No custom MERGE_TEMPLATE or a custom pull.tmpl that always appends the default merge message.
For example if the unofficial reviewer User A
casts two approval votes, the generated merge message looks like this
Commit Title
Reviewed-by: User A <[email protected]>
Reviewed-by: User A <[email protected]>
Gitea Version
1.19.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
2.40.1
Operating System
Ubuntu 23.04
How are you running Gitea?
Built from source on v1.19.3, also verified on tip of main, and running locally from command line.
TAGS="bindata sqlite sqlite_unlock_notify" make build
Database
SQLite