mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 11:50:37 +08:00
Merge pull request #931 from Codium-ai/tr/logs_filter
Add logging for skipping non-code files in GitHub provider
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user