From 25dda63aa91571f56179bdba3ca319fd96ae4216 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 27 May 2025 01:52:50 -0400 Subject: Use pull request bodies as merge commit bodies. For a merge with a single incoming commit, this will generally be redundant - the default pull request subject and body are drawn from the commit itself, so they'll get repeated in the merge commit. However, for a pull request with multiple commits, the pull request title and body are likely a better merge commit message than the default offered by Codeberg. I've been doing basically this for manual merges regardless. Further reading: --- .forgejo/default_merge_message/MERGE_TEMPLATE.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .forgejo/default_merge_message/MERGE_TEMPLATE.md (limited to '.forgejo/default_merge_message') diff --git a/.forgejo/default_merge_message/MERGE_TEMPLATE.md b/.forgejo/default_merge_message/MERGE_TEMPLATE.md new file mode 100644 index 0000000..e4d5b13 --- /dev/null +++ b/.forgejo/default_merge_message/MERGE_TEMPLATE.md @@ -0,0 +1,5 @@ +${PullRequestTitle} + +${PullRequestDescription} + +Merges ${HeadBranch} into ${BaseBranch}. -- cgit v1.2.3