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)
This commit is contained in:
Karma Riuk
2025-04-01 09:53:26 +02:00
parent f7d70eed6c
commit b9d1923bd8

View File

@ -344,7 +344,7 @@ def process_pull(
("Checking coverage...", _check_coverages), ("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? # if the commented files are all not code related, why bother compiling and testing the code?
pbar.update(5) pbar.update(5)
else: else: