1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-30 03:26:01 -04:00
gitea/docs/content/usage
Max Wipfli da4bbc4247
Allow including Reviewed-on/Reviewed-by lines for custom merge messages (#31211)
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}
```
2024-06-06 08:35:04 +00:00
..
actions Fix URL In Gitea Actions Badge Docs (#31191) 2024-05-31 19:41:44 +08:00
packages fix: change npm scope registry (#30964) 2024-05-13 22:05:56 +08:00
_index.en-us.md
_index.zh-cn.md
agit-support.en-us.md
agit-support.zh-cn.md
authentication.en-us.md Update demo site location from try.gitea.io -> demo.gitea.com (#31054) 2024-05-27 15:05:12 +00:00
authentication.zh-cn.md Update demo site location from try.gitea.io -> demo.gitea.com (#31054) 2024-05-27 15:05:12 +00:00
blame.en-us.md
blocking-users.en-us.md Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
clone-filter.en-us.md
clone-filter.zh-cn.md
code-owners.en-us.md
incoming-email.en-us.md
incoming-email.zh-cn.md
issue-pull-request-templates.en-us.md Update demo site location from try.gitea.io -> demo.gitea.com (#31054) 2024-05-27 15:05:12 +00:00
issue-pull-request-templates.zh-cn.md
labels.en-us.md
labels.zh-cn.md
linked-references.en-us.md
linked-references.zh-cn.md
merge-message-templates.en-us.md Allow including Reviewed-on/Reviewed-by lines for custom merge messages (#31211) 2024-06-06 08:35:04 +00:00
merge-message-templates.zh-cn.md
multi-factor-authentication.en-us.md
permissions.en-us.md Rename project board -> column to make the UI less confusing (#30170) 2024-05-27 08:59:54 +00:00
permissions.zh-cn.md
profile-readme.en-us.md Fix doc img path in profile readme (#28994) 2024-01-31 21:32:17 +08:00
profile-readme.zh-cn.md Update some translations and fix markdown formatting (#29099) 2024-02-11 19:03:49 +02:00
protected-tags.en-us.md
protected-tags.zh-cn.md
pull-request.en-us.md
pull-request.zh-cn.md
push.en-us.md
push.zh-cn.md
repo-mirror.en-us.md Gitea with first upper case + typos (#30739) 2024-04-28 21:01:22 +08:00
repo-mirror.zh-cn.md
template-repositories.en-us.md
template-repositories.zh-cn.md
webhooks.en-us.md
webhooks.zh-cn.md