[mod] add link to hook spec

This commit is contained in:
Laurent Peuch 2019-02-06 00:52:42 +01:00
parent 1c65204847
commit 84cce522e1

View file

@ -48,6 +48,7 @@ async def github(request):
print(f"Hook type: {hook_type}")
# https://developer.github.com/v3/activity/events/types/#pushevent
if hook_type == "push":
repository = request.json["repository"]["name"]
commits = request.json["commits"]