Add logging for skipping non-code files in GitHub provider

This commit is contained in:
mrT23
2024-05-30 17:05:30 +03:00
parent 6e6f54933e
commit e6c5236156

View File

@ -147,6 +147,7 @@ class GithubProvider(GitProvider):
for file in files:
if not is_valid_file(file.filename):
get_logger().info(f"Skipping a non-code file: {file.filename}")
continue
new_file_content_str = self._get_pr_file_content(file, self.pr.head.sha) # communication with GitHub