0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-19 22:40:30 +02:00

chore: make DefaultTitleSource default to auto to match GitHub (#37767)

It is a changed (breaking) behavior introduced in 1.26, no need to have
such a breaking change.
This commit is contained in:
wxiaoguang 2026-05-19 01:22:45 +08:00 committed by GitHub
parent 985ca76db0
commit ff1b8b2b92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1172,7 +1172,7 @@ LEVEL = Info
;; Default source for the pull request title when opening a new PR. ;; Default source for the pull request title when opening a new PR.
;; "first-commit" uses the oldest commit's summary. ;; "first-commit" uses the oldest commit's summary.
;; "auto" uses commit's summary if the PR only has one commit, normalizes the branch name if multiple commits. ;; "auto" uses commit's summary if the PR only has one commit, normalizes the branch name if multiple commits.
;DEFAULT_TITLE_SOURCE = first-commit ;DEFAULT_TITLE_SOURCE = auto
;; ;;
;; Delay mergeable check until page view or API access, for pull requests that have not been updated in the specified days when their base branches get updated. ;; Delay mergeable check until page view or API access, for pull requests that have not been updated in the specified days when their base branches get updated.
;; Use "-1" to always check all pull requests (old behavior). Use "0" to always delay the checks. ;; Use "-1" to always check all pull requests (old behavior). Use "0" to always delay the checks.

View File

@ -237,7 +237,7 @@ var (
AddCoCommitterTrailers: true, AddCoCommitterTrailers: true,
RetargetChildrenOnMerge: true, RetargetChildrenOnMerge: true,
DelayCheckForInactiveDays: 7, DelayCheckForInactiveDays: 7,
DefaultTitleSource: RepoPRTitleSourceFirstCommit, DefaultTitleSource: RepoPRTitleSourceAuto,
}, },
// Issue settings // Issue settings