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(