From d8ab48dc82454e7169cf26aa8e23eaee74c29121 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Mon, 31 Mar 2025 21:25:08 +0200 Subject: [PATCH] excluding repos that have no comments --- pull_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pull_requests.py b/pull_requests.py index 78a30e5..eb0ea66 100644 --- a/pull_requests.py +++ b/pull_requests.py @@ -48,7 +48,7 @@ def get_good_projects(csv_file: str) -> pd.DataFrame: def is_pull_good(pull: PullRequest, verbose: bool = False) -> bool: comments = pull.get_review_comments() - if pull.user.type == "Bot" or comments.totalCount > 2: + if pull.user.type == "Bot" or comments.totalCount > 2 or comments.totalCount == 0: return False if comments.totalCount == 2: