Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions openedx_webhooks/views/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down