Skip to content

Commit

Permalink
bugfix: validate output publishing with progress condition in pr_code…
Browse files Browse the repository at this point in the history
…_suggestions
  • Loading branch information
mrT23 committed Mar 27, 2024
1 parent a86913a commit 79bdb9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr_agent/tools/pr_code_suggestions.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async def run(self):
relevant_configs = {'pr_code_suggestions': dict(get_settings().pr_code_suggestions),
'config': dict(get_settings().config)}
get_logger().debug("Relevant configs", artifacts=relevant_configs)
if get_settings().config.publish_output:
if get_settings().config.publish_output and get_settings().config.publish_output_progress:
if self.git_provider.is_supported("gfm_markdown"):
self.progress_response = self.git_provider.publish_comment(self.progress)
else:
Expand Down

0 comments on commit 79bdb9a

Please sign in to comment.