mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 05:39:46 +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:
1 parent
985ca76db0
commit
ff1b8b2b92
2 files changed
+2
-2
No files matched your search
@@ -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.
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user