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.
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} ``` |
9 months ago | |
---|---|---|
.. | ||
actions | 9 months ago | |
packages | 10 months ago | |
_index.en-us.md | 2 years ago | |
_index.zh-cn.md | 2 years ago | |
agit-support.en-us.md | 1 year ago | |
agit-support.zh-cn.md | 1 year ago | |
authentication.en-us.md | 9 months ago | |
authentication.zh-cn.md | 9 months ago | |
blame.en-us.md | 1 year ago | |
blocking-users.en-us.md | 12 months ago | |
clone-filter.en-us.md | 2 years ago | |
clone-filter.zh-cn.md | 2 years ago | |
code-owners.en-us.md | 2 years ago | |
incoming-email.en-us.md | 2 years ago | |
incoming-email.zh-cn.md | 2 years ago | |
issue-pull-request-templates.en-us.md | 9 months ago | |
issue-pull-request-templates.zh-cn.md | 2 years ago | |
labels.en-us.md | 2 years ago | |
labels.zh-cn.md | 1 year ago | |
linked-references.en-us.md | 1 year ago | |
linked-references.zh-cn.md | 1 year ago | |
merge-message-templates.en-us.md | 9 months ago | |
merge-message-templates.zh-cn.md | 2 years ago | |
multi-factor-authentication.en-us.md | 1 year ago | |
permissions.en-us.md | 9 months ago | |
permissions.zh-cn.md | 2 years ago | |
profile-readme.en-us.md | 1 year ago | |
profile-readme.zh-cn.md | 1 year ago | |
protected-tags.en-us.md | 2 years ago | |
protected-tags.zh-cn.md | 2 years ago | |
pull-request.en-us.md | 1 year ago | |
pull-request.zh-cn.md | 1 year ago | |
push.en-us.md | 2 years ago | |
push.zh-cn.md | 2 years ago | |
repo-mirror.en-us.md | 10 months ago | |
repo-mirror.zh-cn.md | 2 years ago | |
template-repositories.en-us.md | 1 year ago | |
template-repositories.zh-cn.md | 2 years ago | |
webhooks.en-us.md | 2 years ago | |
webhooks.zh-cn.md | 2 years ago |