diff --git a/app.py b/app.py index d74b6ee..79a0ba7 100644 --- a/app.py +++ b/app.py @@ -90,6 +90,8 @@ def main(): if data['action'] == "created": msg = f"{url_user} a répondu au ticket {url_issue} dans {url_repository}" + else: + return "IGN" if event == "pull_request" and data["action"] == "opened": url_user = make_url_user(data["sender"]) @@ -113,9 +115,6 @@ def main(): if event == "create" and data["ref_type"] in ["tag", "branch"]: return "IGN" - if event == "issue_comment": - return "IGN" - if event == "delete": return "IGN"