diff --git a/.github/workflows/comment-pr-artifacts.yml b/.github/workflows/comment-pr-artifacts.yml index ca47c280..9cec0b18 100644 --- a/.github/workflows/comment-pr-artifacts.yml +++ b/.github/workflows/comment-pr-artifacts.yml @@ -110,23 +110,6 @@ jobs: artifactsBlock, ].join('\n'); - const comments = await github.paginate( - github.rest.issues.listComments, - { owner, repo, issue_number: prNumber, per_page: 100 } - ); - const existing = comments.find((comment) => (comment.body || '').includes(marker)); - - if (existing) { - await github.rest.issues.updateComment({ - owner, - repo, - comment_id: existing.id, - body, - }); - core.info(`Updated existing artifacts comment: ${existing.html_url}`); - return; - } - const created = await github.rest.issues.createComment({ owner, repo,