'event["headers"]' -> 'event["headers"]["X-GitHub-Event"]'
This commit is contained in:
parent
8789689393
commit
65b182c9a9
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
if not value == full_name:
|
if not value == full_name:
|
||||||
hooks.pop(i)
|
hooks.pop(i)
|
||||||
|
|
||||||
github_event = event["headers"]
|
github_event = event["headers"]["X-GitHub-Event"]
|
||||||
|
|
||||||
outputs = None
|
outputs = None
|
||||||
if github_event == "push":
|
if github_event == "push":
|
||||||
outputs = self.push(event, full_name, data)
|
outputs = self.push(event, full_name, data)
|
||||||
|
|
Loading…
Reference in a new issue