publish_persistent_comment

This commit is contained in:
mrT23
2023-11-09 15:24:55 +02:00
parent 7e5889061c
commit 737792d83c
5 changed files with 7 additions and 12 deletions

View File

@ -120,7 +120,9 @@ class PRReviewer:
# publish the review
if get_settings().pr_reviewer.persistent_comment and not self.incremental.is_incremental:
self.git_provider.publish_persistent_comment(pr_comment)
self.git_provider.publish_persistent_comment(pr_comment,
initial_text="## PR Analysis",
updated_text="## PR Analysis (updated)")
else:
self.git_provider.publish_comment(pr_comment)