ignore all events on invidual issue comments

This commit is contained in:
Lephenixnoir 2021-03-15 21:55:53 +01:00
parent 07ddf67043
commit 18fe26714f
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 3 additions and 0 deletions

3
app.py
View File

@ -103,6 +103,9 @@ def main():
if event == "create" and data["ref_type"] in ["tag", "branch"]:
return "IGN"
if event == "issue_comment":
return "IGN"
if not msg:
msg = f"Événement {event}"
if "repository" in data: