mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
[mod] add link to hook spec
This commit is contained in:
parent
1c65204847
commit
84cce522e1
1 changed files with 1 additions and 0 deletions
|
@ -48,6 +48,7 @@ async def github(request):
|
||||||
|
|
||||||
print(f"Hook type: {hook_type}")
|
print(f"Hook type: {hook_type}")
|
||||||
|
|
||||||
|
# https://developer.github.com/v3/activity/events/types/#pushevent
|
||||||
if hook_type == "push":
|
if hook_type == "push":
|
||||||
repository = request.json["repository"]["name"]
|
repository = request.json["repository"]["name"]
|
||||||
commits = request.json["commits"]
|
commits = request.json["commits"]
|
||||||
|
|
Loading…
Reference in a new issue