We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a378810 commit ed6ef63Copy full SHA for ed6ef63
server.py
@@ -89,7 +89,7 @@ async def github(request):
89
print(f"Hook type: {hook_type}")
90
91
try:
92
- repository = request.json["repository"]["name"]
+ repository = request.json.get("repository", {}).get("name")
93
94
# do not notify if the repo is 'apps_translations'
95
if repository == "apps_translations":
0 commit comments