From 1cbd3d35215ec7e8f5cc5d4959ec7f04d49c1fe9 Mon Sep 17 00:00:00 2001 From: MikiGergely Date: Wed, 17 May 2023 08:30:10 +0200 Subject: [PATCH] retry issue_comment --- libs/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/utils.py b/libs/utils.py index 4c87b1b..7ce5202 100644 --- a/libs/utils.py +++ b/libs/utils.py @@ -167,8 +167,8 @@ def issue_comment(githubApi, metadata_id, content, metadata={}): logging.info("Comment is deleted") comment.delete() + retry(pr.create_issue_comment, 60, 5)(content) logging.info("New comment is created") - pr.create_issue_comment(content) def delete_review_comments(github_api, user_name):