chesnokoff commented on code in PR #13558:
URL: https://github.com/apache/ignite/pull/13558#discussion_r3949758999
##########
.github/workflows/check-protected-classes.yml:
##########
@@ -108,14 +131,12 @@ jobs:
].join('\n');
const body = MARKER + '\n## Possible compatibility issues. Please,
check rolling upgrade cases\n\n' + summary + '\n';
- const comments = await
github.paginate(github.rest.issues.listComments, {
- owner, repo, issue_number: pr.number,
- });
- const existing = comments.find(c => c.body.includes(MARKER));
if (existing) {
- await github.rest.issues.deleteComment({ owner, repo,
comment_id: existing.id });
+ await github.rest.issues.updateComment({ owner, repo,
comment_id: existing.id, body });
Review Comment:
Previous implementation deleted comment and created it again. Now it updates
the existing comment
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]