aboutsummaryrefslogtreecommitdiff
path: root/modules/github/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/github/__init__.py')
-rw-r--r--modules/github/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/github/__init__.py b/modules/github/__init__.py
index 9159cd16..e2098783 100644
--- a/modules/github/__init__.py
+++ b/modules/github/__init__.py
@@ -175,6 +175,10 @@ class Module(ModuleManager.BaseModule):
:usage: events <hook> [category [category ...]]
:usage: branches <hook> [branch [branch ...]]
"""
+ if event["target"].get_setting("github-hide-prefix", False)):
+ event["stdout"].hide_prefix()
+ event["stderr"].hide_prefix()
+
all_hooks = event["target"].get_setting("github-hooks", {})
hook_name = None
existing_hook = None