From 84cce522e109baecc1a7ddce8454e3857c9090d6 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 6 Feb 2019 00:52:42 +0100 Subject: [PATCH] [mod] add link to hook spec --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index 750d732..41061e0 100644 --- a/server.py +++ b/server.py @@ -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"]