From 8f06e948fb108ade04dc12beb84ab84d32f87eb9 Mon Sep 17 00:00:00 2001 From: Benoit Garcia Date: Mon, 8 May 2023 07:27:56 +0200 Subject: [PATCH] feat(actions): Add actions related elements to the configuration template. --- templates/gitea.ini.j2 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/gitea.ini.j2 b/templates/gitea.ini.j2 index eed51a1..a105a41 100644 --- a/templates/gitea.ini.j2 +++ b/templates/gitea.ini.j2 @@ -271,6 +271,14 @@ PATH = {{ gitea_lfs_content_path }} {% endif %} ; ; +{% if gitea_actions_enabled | bool %} +; -> https://docs.gitea.io/en-us/config-cheat-sheet/#actions-actions +[actons] +ENABLED = {{ gitea_actions_enabled }} +DEFAULT_ACTIONS_URL = {{ gitea_actions_default_actions_url }} +{% endif %} +; +; ; Other (other) ; -> https://docs.gitea.io/en-us/config-cheat-sheet/#other-other [other]