diff options
| author | 2019-06-27 11:21:09 +0100 | |
|---|---|---|
| committer | 2019-06-27 11:21:09 +0100 | |
| commit | 1ef93e181f740c4ff0abb3eca99a348e4ca7dab3 (patch) | |
| tree | 67de766bf9731b60731b31fe64e9a017f39373ba /modules | |
| parent | shortify push range url (diff) | |
| signature | ||
'ref' -> 'sha' for getting PR commit titles
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/git_webhooks/github.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git_webhooks/github.py b/modules/git_webhooks/github.py index 09f5ef92..29893a2a 100644 --- a/modules/git_webhooks/github.py +++ b/modules/git_webhooks/github.py @@ -261,7 +261,7 @@ class GitHub(object): new_commits = [] for commit in commits.data: if seen_before: - new_commits.append({"id": commit["ref"], + new_commits.append({"id": commit["sha"], "message": commit["commit"]["message"]}) elif commit["sha"] == data["before"]: seen_before = True |
