From 273203e412958ef3b8447c6bf6f92808a6435a3a Mon Sep 17 00:00:00 2001 From: Roo Code Date: Tue, 10 Feb 2026 18:35:24 +0000 Subject: [PATCH] fix: remove dead step and paginate comment listing - Remove unused "Determine VSIX filename" step whose outputs were never consumed - Replace listComments with github.paginate to handle PRs with 30+ comments --- .github/pr-build.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/pr-build.yml b/.github/pr-build.yml index a0179311a7..0ae4350d3c 100644 --- a/.github/pr-build.yml +++ b/.github/pr-build.yml @@ -26,14 +26,6 @@ jobs: - name: Build VSIX run: pnpm vsix - - name: Determine VSIX filename - id: vsix - run: | - VSIX_FILE=$(ls bin/*.vsix | head -n1) - VSIX_NAME=$(basename "$VSIX_FILE") - echo "file=$VSIX_FILE" >> "$GITHUB_OUTPUT" - echo "name=$VSIX_NAME" >> "$GITHUB_OUTPUT" - - name: Upload Regular VSIX uses: actions/upload-artifact@v4 with: @@ -118,10 +110,11 @@ jobs: // Look for an existing comment from this workflow so we update // instead of creating a new one on every push. const marker = '### VSIX Build Artifacts'; - const { data: comments } = await github.rest.issues.listComments({ + const comments = await github.paginate(github.rest.issues.listComments, { owner: context.repo.owner, repo: context.repo.repo, issue_number: context.issue.number, + per_page: 100, }); const existing = comments.find(