diff options
Diffstat (limited to 'modules/git_webhooks/__init__.py')
| -rw-r--r-- | modules/git_webhooks/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/git_webhooks/__init__.py b/modules/git_webhooks/__init__.py index 6ca058ff..81b34979 100644 --- a/modules/git_webhooks/__init__.py +++ b/modules/git_webhooks/__init__.py @@ -42,6 +42,9 @@ class Module(ModuleManager.BaseModule): "payload"][0]) data = json.loads(payload) + if handler.is_private(data, headers): + return {"state": "success", "deliveries": 0} + full_name, repo_username, repo_name, organisation = handler.names( data, headers) branch = handler.branch(data, headers) |
