1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 17:44:27 +00: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 Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
_index.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
agit-support.en-us.md Update agit-support.en-us.md (#27652) 2023-10-17 17:53:36 +08:00
agit-support.zh-cn.md Change the default branch in the agit docs (#27621) 2023-10-14 09:50:23 -04:00
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 Support .git-blame-ignore-revs file (#26395) 2023-09-16 17:42:34 +00:00
blocking-users.en-us.md Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
clone-filter.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
clone-filter.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
code-owners.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
incoming-email.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
incoming-email.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
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 Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
labels.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
labels.zh-cn.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
linked-references.en-us.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
linked-references.zh-cn.md Fix incorrect Chinese translation of linked-references.zh-cn.md (#27382) 2023-10-02 06:13:08 +00:00
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 Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
multi-factor-authentication.en-us.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
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 Update zh-cn documentation (#26406) 2023-08-14 01:35:49 -04:00
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 Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
protected-tags.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
pull-request.en-us.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
pull-request.zh-cn.md Update documents to fix some links (#26885) 2023-09-03 18:45:20 +00:00
push.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
push.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
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 Update zh-cn documentation (#26406) 2023-08-14 01:35:49 -04:00
template-repositories.en-us.md Rephrase template documentation to be more clear about .gitea/template (#27450) 2023-10-06 14:51:33 +08:00
template-repositories.zh-cn.md Update zh-cn documentation (#26406) 2023-08-14 01:35:49 -04:00
webhooks.en-us.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00
webhooks.zh-cn.md Docusaurus-ify (#26051) 2023-07-26 04:53:13 +00:00