From b9d1923bd89562961ac189ace7ceba2281993d18 Mon Sep 17 00:00:00 2001 From: Karma Riuk Date: Tue, 1 Apr 2025 09:53:26 +0200 Subject: [PATCH] since the comment file might not be in the PR files (since it was reverted back to its original state, we manually need to check if it's code related) --- pull_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pull_requests.py b/pull_requests.py index 93e7d7a..cf69ab3 100644 --- a/pull_requests.py +++ b/pull_requests.py @@ -344,7 +344,7 @@ def process_pull( ("Checking coverage...", _check_coverages), ] - if all(not entry.files[comment.file].is_code_related for comment in entry.comments): + if all(not comment.file.endswith(".java") for comment in entry.comments): # if the commented files are all not code related, why bother compiling and testing the code? pbar.update(5) else: