Fix create copilot comment

This commit is contained in:
Heiner Lohaus 2024-01-23 02:13:36 +01:00
parent ec2de56bbd
commit 55695eda39
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ def main():
if comments:
pull.create_review(body=review, comments=comments)
else:
pull.create_comment(body=review)
pull.create_issue_comment(body=review)
except Exception as e:
print(f"Error posting review: {e}")
exit(1)