diff --git a/openedx_webhooks/views/github.py b/openedx_webhooks/views/github.py index e97c96f3..2b468b3d 100644 --- a/openedx_webhooks/views/github.py +++ b/openedx_webhooks/views/github.py @@ -36,6 +36,8 @@ def github_pull_request(): return pr_opened(pr, bugsnag_context) if event["action"] == "closed": return pr_closed(pr, bugsnag_context) + if event["action"] == "labeled": + return "Ignoring labeling events from github", 200 print( "Received {action} event on PR #{num} against {repo}, don't know how to handle it".format(