From 7fa4bc6bd49e6f51bc1366c58bfc785cee7e5eb3 Mon Sep 17 00:00:00 2001 From: wxiaoguang <29147+wxiaoguang@noreply.gitea.com> Date: Tue, 7 Jul 2026 18:40:24 +0000 Subject: [PATCH] update config: DEFAULT_TITLE_SOURCE=branch-name (#457) https://github.com/go-gitea/gitea/pull/38356Reviewed-on: https://gitea.com/gitea/docs/pulls/457 Reviewed-by: Lunny Xiao Co-authored-by: wxiaoguang <29147+wxiaoguang@noreply.gitea.com> --- docs/administration/config-cheat-sheet.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/administration/config-cheat-sheet.md b/docs/administration/config-cheat-sheet.md index 26183b5a..eecf8f13 100644 --- a/docs/administration/config-cheat-sheet.md +++ b/docs/administration/config-cheat-sheet.md @@ -177,6 +177,7 @@ In addition, there is _`StaticRootPath`_ which can be set as a built-in at build - `DEFAULT_TITLE_SOURCE`: **auto**: Default source for the pull request title when opening a new PR. Valid options: - `first-commit`: Uses the oldest commit's summary as the title. If there are multiple commits, still uses the first commit's message. - `auto`: Uses the commit's summary when the PR contains a single commit; when there are multiple commits, converts the branch name into a human-readable title by normalizing separators and casing. + - `branch-name`: Always uses the PR's branch name. ### Repository - Issue (`repository.issue`)