From e7bf094578d60f7db5c509d2f85164fea56cc2f1 Mon Sep 17 00:00:00 2001 From: Origami404 Date: Fri, 1 Mar 2024 20:01:24 +0800 Subject: [PATCH] Adding back missing options to app.example.ini (#29511) In the refactoring of the configuration file #15807, some lines were accidentally deleted: DEFAULT_CLOSE_ISSUES_VIA_COMMITS_IN_ANY_BRANCH = false ENABLE_PUSH_CREATE_USER = false ENABLE_PUSH_CREATE_ORG = false Fix #29510 --------- Co-authored-by: techknowlogick Co-authored-by: Lunny Xiao Co-authored-by: wxiaoguang (cherry picked from commit 2ca5daf07e5816343c1018f5773e7a2c671f3777) --- custom/conf/app.example.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 04714e5502..d0da2a41e6 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -969,6 +969,12 @@ LEVEL = Info ;GO_GET_CLONE_URL_PROTOCOL = https ;; ;; Close issues as long as a commit on any branch marks it as fixed +;DEFAULT_CLOSE_ISSUES_VIA_COMMITS_IN_ANY_BRANCH = false +;; +;; Allow users to push local repositories to Gitea and have them automatically created for a user or an org +;ENABLE_PUSH_CREATE_USER = false +;ENABLE_PUSH_CREATE_ORG = false +;; ;; Comma separated list of globally disabled repo units. Allowed values: repo.issues, repo.ext_issues, repo.pulls, repo.wiki, repo.ext_wiki, repo.projects, repo.packages, repo.actions. ;DISABLED_REPO_UNITS = ;;