Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
github webhooks: Avoid string interpolation.
Steve Howell5c916135c9a2
diff --git a/zerver/webhooks/github/view.py b/zerver/webhooks/github/view.pyindex 959b05ecac0..edfe026c9e3 100644--- a/zerver/webhooks/github/view.py+++ b/zerver/webhooks/github/view.py@@ -578,7 +578,7 @@ def get_event(request: HttpRequest, payload: Dict[str, Any], branches: Optional[if action == 'closed':return 'closed_pull_request'if action == 'review_requested':- return f'{event}_{action}'+ return "pull_request_review_requested"if action == 'ready_for_review':return 'pull_request_ready_for_review'if action in IGNORED_PULL_REQUEST_ACTIONS: