From d5e160bbb956d1d51c2d2075576a84d1c6eef35d Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sun, 12 Mar 2023 23:32:08 +0300 Subject: [PATCH] gitea: disable closing issue by commin in not-default branch --- machines/magenta/services/gitea.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/magenta/services/gitea.nix b/machines/magenta/services/gitea.nix index 4185894..46bcdd8 100644 --- a/machines/magenta/services/gitea.nix +++ b/machines/magenta/services/gitea.nix @@ -58,7 +58,7 @@ in DISABLE_HTTP_GIT = false; DISABLE_STARS = false; DEFAULT_BRANCH = "main"; - DEFAULT_CLOSE_ISSUES_VIA_COMMITS_IN_ANY_BRANCH = true; + DEFAULT_CLOSE_ISSUES_VIA_COMMITS_IN_ANY_BRANCH = false; }; "repository.local" = { LOCAL_COPY_PATH = "${giteaCfg.stateDir}/tmp/local-repo";