Print the commit name too.

pull/1/head
Simon Quigley 7 years ago
parent b7d3569bc7
commit c82c7fc555

@ -141,6 +141,8 @@ def main():
sendnotice(message)
elif data["object"]["type"] == "CMIT":
print("It's a commit!")
commitphid = data["object"]["phid"]
print(phab.phid.query(phids=[commitphid])[commitphid]["fullName"])
return "OK"

Loading…
Cancel
Save