From 6afa9af3b2d2eb978910621d64fb464f01bded41 Mon Sep 17 00:00:00 2001 From: Jakob Scheid Date: Wed, 6 May 2026 15:32:40 +0200 Subject: [PATCH] Add configuration for Gitea integration --- config/server.conf | 11 ++++++++++- default_configuration.conf | 6 +++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/config/server.conf b/config/server.conf index 74fedf4..62cd2b8 100644 --- a/config/server.conf +++ b/config/server.conf @@ -39,4 +39,13 @@ # logfile= # The log level. Default is INFO. -# loglevel= \ No newline at end of file +# loglevel= + +[gitea] +# Whether Gitea is enabled ('true', 'yes', 't', or 'y'). Default is +# false. +# enabled= + +# The file for the Gitea webhook secret. Must be set if Gitea webhooks +# are enabled. +# webhook_secret_file= \ No newline at end of file diff --git a/default_configuration.conf b/default_configuration.conf index 05ef51e..c098eb5 100644 --- a/default_configuration.conf +++ b/default_configuration.conf @@ -14,4 +14,8 @@ openapi=/openapi.json logtarget=stdout logfile= fail_strict=false -loglevel=INFO \ No newline at end of file +loglevel=INFO + +[gitea] +enabled=false +webhook_secret_file= \ No newline at end of file