Fix create copilot comment

pull/1504/head
Heiner Lohaus 8 months ago
parent ec2de56bbd
commit 55695eda39

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

Loading…
Cancel
Save