Skip to content

Include first multiline commit in MR description for default template

Stan Hu requested to merge sh-fix-mr-template into main

What does this merge request do and why?

I often spend a long time writing my commit messages, only to spend an extra step copying and pasting these into the merge request description. Having the text automatically inserted would save time.

This uses %{first_multiline_commit} to include the first multiline commit in the MR description.

Docs: https://docs.gitlab.com/ee/user/project/description_templates.html

We did this same change in other projects:

Impacted categories

The following categories relate to this merge request:

Merge request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise an issue to follow-up.
  • Documentation added/updated, if needed.
  • Announcement added, if change is notable.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.
Edited by Stan Hu

Merge request reports