Files
gitea/modules/setting
0xGREG 0ba862cb97 Add DEFAULT_TITLE_SOURCE setting for pull request title default behavior (#37465)
Adds a new `DEFAULT_TITLE_SOURCE` option under
`[repository.pull-request]` with three values:

- `first-commit` (default): uses the oldest commit summary, current
behavior since v1.26
- `auto`: normalizes branch name as title for multi-commit PRs (just
like GitHub), use commit summary for single-commit PRs

Closes: #37463
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: Nicolas <bircni@icloud.com>
2026-04-28 21:33:20 +00:00
..
2026-02-28 11:23:20 -08:00
2026-02-22 08:01:43 +01:00
2023-12-19 09:29:05 +00:00
2023-07-04 18:36:08 +00:00
2025-06-03 01:26:19 +00:00
2025-09-13 18:01:00 +00:00
2025-10-23 08:35:48 +00:00
2025-03-31 01:53:48 -04:00
2026-04-03 20:03:59 +00:00
2023-10-10 18:47:49 +08:00
2023-02-20 16:18:26 -06:00