Skip to content

Commit 48fafe0

Browse files
committed
change to create_comment
1 parent c26e471 commit 48fafe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def add_pr_comments() -> int:
146146
else:
147147
# No matching comments, create a new one
148148
print(f"Creating a new comment on PR #{pr_number}.")
149-
pull_request.create_issue_comment(body=pr_comments)
149+
pull_request.create_comment(body=pr_comments)
150150

151151
return 0 if result_text is None else 1
152152
except Exception as e:

0 commit comments

Comments
 (0)