mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
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
This commit is contained in:
parent
236deb5ffb
commit
273203e412
1 changed files with 2 additions and 9 deletions
11
.github/pr-build.yml
vendored
11
.github/pr-build.yml
vendored
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue