summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorDenys Konovalov <kontakt@denyskon.de>2023-11-18 12:37:08 +0100
committerGitHub <noreply@github.com>2023-11-18 13:37:08 +0200
commit816e46ee7ce4b2649479554a940ecbe1cc505a3d (patch)
treecc00f0fa563bde5fe6706659b0a102eb4799577a /custom
parente88377470a05f7b57a5f421f7af7c03ed66e7983 (diff)
downloadgitea-816e46ee7ce4b2649479554a940ecbe1cc505a3d.tar.gz
gitea-816e46ee7ce4b2649479554a940ecbe1cc505a3d.zip
add skip ci functionality (#28075)
Adds the possibility to skip workflow execution if the commit message contains a string like [skip ci] or similar. The default strings are the same as on GitHub, users can also set custom ones in app.ini Reference: https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs Close #28020
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 325e31af39..18d6fe37a8 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1017,7 +1017,7 @@ LEVEL = Info
;ALLOWED_TYPES =
;;
;; Max size of each file in megabytes. Defaults to 50MB
-;FILE_MAX_SIZE = 50
+;FILE_MAX_SIZE = 50
;;
;; Max number of files per upload. Defaults to 5
;MAX_FILES = 5
@@ -2583,6 +2583,8 @@ LEVEL = Info
;ENDLESS_TASK_TIMEOUT = 3h
;; Timeout to cancel the jobs which have waiting status, but haven't been picked by a runner for a long time
;ABANDONED_JOB_TIMEOUT = 24h
+;; Strings committers can place inside a commit message to skip executing the corresponding actions workflow
+;SKIP_WORKFLOW_STRINGS = [skip ci],[ci skip],[no ci],[skip actions],[actions skip]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;