diff options
| author | 2018-11-06 14:01:02 +0000 | |
|---|---|---|
| committer | 2018-11-06 14:01:02 +0000 | |
| commit | 65b182c9a9c68fe418b78698a7e5296d36dbadc3 (patch) | |
| tree | 8b619b87a7155c127b77d09dc7964ffa2a31b49d /modules | |
| parent | Remove additional 'False' in modules/set.py that was an artefact of the first (diff) | |
| signature | ||
'event["headers"]' -> 'event["headers"]["X-GitHub-Event"]'
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/github.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py index e468edde..c7ed73d7 100644 --- a/modules/github.py +++ b/modules/github.py @@ -22,7 +22,8 @@ class Module(ModuleManager.BaseModule): if not value == full_name: hooks.pop(i) - github_event = event["headers"] + github_event = event["headers"]["X-GitHub-Event"] + outputs = None if github_event == "push": outputs = self.push(event, full_name, data) |
