Fix a typo
parent
bca10ae245
commit
0f415d506f
|
@ -40,7 +40,7 @@ class PushEventHook(BaseEventHook):
|
|||
|
||||
changes = self.payload.get("push", {}).get('changes', [])
|
||||
for change in filter(None, changes):
|
||||
commits = target.get("commits", [])
|
||||
commits = change.get("commits", [])
|
||||
if not commits:
|
||||
continue
|
||||
|
||||
|
|
Loading…
Reference in New Issue