Skip to content

Commit 438b4f4

Browse files
Merge branch 'main' into main
2 parents 62fb1be + 4ac696c commit 438b4f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

etc/tool/copilot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def ai_review_pr(pr_body, changed_files, file_contents):
124124
def post_comment(pr, message):
125125
"""Posts a comment on the PR."""
126126
existing_comments = [comment.body for comment in pr.get_issue_comments()]
127-
if message not in existing_comments:
127+
if message not in existing_comments and message.strip():
128128
pr.create_issue_comment(message)
129129

130130
def request_changes(pr, issues, filename):

0 commit comments

Comments
 (0)