Skip to content

Only send commit messages from the MR if they've been manually modified

Thomas Randolph requested to merge tor/defect/merge-commit-message into master

What does this MR do and why?

For #467506 (closed)

(See issue for overall problem)

Only sends any commit message from the front end if the message has been modified by the user.

This allows the back end to use the default - which can get updated after the message would have been sent.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N/A, all back stage.

How to set up and validate locally

  1. Set up your environment with the steps outlined in the issue (auto_merge, merge commit message template with approvers, etc.)
  2. Auto-merge, then approve
  3. Repeat with squash on merge enabled (neither should change the behavior)
  4. Repeat with manually set commit/squash commit messages (these SHOULD override the default, and not include approvers)
Edited by Thomas Randolph

Merge request reports

Loading