Feature Description
Since PR #36606 (merged in 1.26.0), the pull request creation form always uses the first commit's message as the default PR title, even for multi-commit branches. Previously, multi-commit branches would use the branch name as the default title.
While I understand the rationale behind the change (novice users leaving branch names as PR titles), our teams have procedures that make it so branch names automatically meaningful. The new behavior breaks this workflow and requires manually replacing the commit message with the branch name every time.
Proposed Solution
Add a configuration option under [repository.pull-request] in app.ini to let administrators choose the default PR title source. For example:
[repository.pull-request]
;; Options: first-commit, branch-name
DEFAULT_PR_TITLE_SOURCE = first-commit
This would let teams that prefer the old behavior set DEFAULT_PR_TITLE_SOURCE = branch-name, while keeping the new first-commit default for everyone else.
Related info
Feature Description
Since PR #36606 (merged in 1.26.0), the pull request creation form always uses the first commit's message as the default PR title, even for multi-commit branches. Previously, multi-commit branches would use the branch name as the default title.
While I understand the rationale behind the change (novice users leaving branch names as PR titles), our teams have procedures that make it so branch names automatically meaningful. The new behavior breaks this workflow and requires manually replacing the commit message with the branch name every time.
Proposed Solution
Add a configuration option under [repository.pull-request] in app.ini to let administrators choose the default PR title source. For example:
This would let teams that prefer the old behavior set DEFAULT_PR_TITLE_SOURCE = branch-name, while keeping the new first-commit default for everyone else.
Related info