mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
da4bbc4247
This PR introduces the `ReviewedOn` and `ReviewedBy` variables for the default merge message templates (e.g., `.gitea/default_merge_message/MERGE_TEMPLATE.md`). This allows customizing the default merge messages while retaining these trailers. This also moves the associated logic out of `pull.tmpl` into the relevant Go function. This is a first contribution towards #11077. --- For illustration, this allows to recreate the "default default" merge message with the following template: ``` .gitea/default_merge_message/MERGE_TEMPLATE.md Merge pull request '${PullRequestTitle}' (${PullRequestReference}) from ${HeadBranch} into ${BaseBranch} ${ReviewedOn} ${ReviewedBy} ``` |
8 months ago | |
---|---|---|
.. | ||
administration | 8 months ago | |
contributing | 8 months ago | |
development | 8 months ago | |
help | 8 months ago | |
installation | 8 months ago | |
usage | 8 months ago | |
actions.en-us.md | 2 years ago | |
administration.en-us.md | 2 years ago | |
administration.zh-cn.md | 2 years ago | |
contributing.en-us.md | 2 years ago | |
development.en-us.md | 2 years ago | |
development.zh-cn.md | 2 years ago | |
help.en-us.md | 2 years ago | |
help.zh-cn.md | 2 years ago | |
index.en-us.md | 8 months ago | |
index.zh-cn.md | 1 year ago | |
installation.en-us.md | 2 years ago | |
installation.zh-cn.md | 2 years ago | |
packages.en-us.md | 2 years ago | |
search.en-us.md | 2 years ago | |
search.nl-nl.md | 2 years ago | |
search.pt-br.md | 2 years ago | |
search.zh-cn.md | 2 years ago | |
usage.en-us.md | 2 years ago | |
usage.zh-cn.md | 2 years ago |