You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: custom/conf/app.example.ini
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1156,10 +1156,9 @@ LEVEL = Info
1156
1156
;; Retarget child pull requests to the parent pull request branch target on merge of parent pull request. It only works on merged PRs where the head and base branch target the same repo.
1157
1157
;RETARGET_CHILDREN_ON_MERGE = true
1158
1158
;;
1159
-
;; Delay conflict checking until page view or API access, for pull requests that have not been updated in the specified number of days.
1160
-
;; The default `-1` means never delay. With `1` day, pull requests under active development will be checked quickly without undue server
1161
-
;; load for old pull requests.
1162
-
;CHECK_ONLY_LAST_UPDATED_DAYS = -1
1159
+
;; 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.
1160
+
;; Use "-1" to always check all pull requests (old behavior). Use "0" to always delay the checks.
log.Warn("Forbidden: User %d is not allowed push to protected branch %s in %-v and pr #%d is not ready to be merged: %s", ctx.opts.UserID, branchName, repo, pr.Index, err.Error())
379
380
ctx.JSON(http.StatusForbidden, private.Response{
380
381
UserMsg: fmt.Sprintf("Not allowed to push to protected branch %s and pr #%d is not ready to be merged: %s", branchName, ctx.opts.PullRequestID, err.Error()),
0 commit comments