diff --git a/app.py b/app.py index 18d1919..0c94c17 100644 --- a/app.py +++ b/app.py @@ -110,6 +110,9 @@ def main(): if event == "push" and all(c == '0' for c in data["after"]): return "IGN" + if event == "push" and all(c == '0' for c in data["before"]) and data["commits"] == []: + return "IGN" + if event == "pull_request" and data["action"] in ["assigned", "closed", "synchronized", "edited"]: return "IGN"