From c185b7c6103e50423646617ea28fed323a660cea Mon Sep 17 00:00:00 2001 From: KennyDizi Date: Thu, 27 Jun 2024 07:03:08 +0700 Subject: [PATCH] Apply PrReviewTitles enum for algo utils file --- pr_agent/algo/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pr_agent/algo/utils.py b/pr_agent/algo/utils.py index bf2c5bf3..a1b438f6 100644 --- a/pr_agent/algo/utils.py +++ b/pr_agent/algo/utils.py @@ -90,9 +90,9 @@ def convert_to_markdown(output_data: dict, gfm_supported: bool = True, increment } markdown_text = "" if not incremental_review: - markdown_text += f"## PR Reviewer Guide 🔍\n\n" + markdown_text += f"{PrReviewTitles.REGULAR} 🔍\n\n" else: - markdown_text += f"## Incremental PR Reviewer Guide 🔍\n\n" + markdown_text += f"{PrReviewTitles.INCREMENTAL} 🔍\n\n" markdown_text += f"⏮️ Review for commits since previous PR-Agent review {incremental_review}.\n\n" if gfm_supported: markdown_text += "\n"