Skip to content

add review pr workflow #1

add review pr workflow

add review pr workflow #1

Triggered via pull request August 22, 2025 09:23
@xlcxlc
opened #102
review-pr
Status Failure
Total duration 40s
Artifacts

polka-codes-review-pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors
handle
Review command failed with exit code 1
handle
Stack trace: Error: Review command failed with exit code 1 at handleReview (file:///home/runner/work/_actions/polka-codes/action/master/dist/index.js:35226:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async run (file:///home/runner/work/_actions/polka-codes/action/master/dist/index.js:35402:7)
handle
Failed with error: Review command failed with exit code 1
handle
stderr: npm warn exec The following package was not found and will be installed: @polka-codes/[email protected] - Gathering information... ✖ Error checking out PR #102. Make sure the PR number is correct and you have access to the repository. Error: Command failed: gh pr checkout 102 fatal: couldn't find remote ref refs/heads/review-pr failed to run git: exit status 128 at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at checkExecSyncError (node:child_process:891:11) at execSync (node:child_process:963:15) at reviewPR (file:///home/runner/.npm/_npx/16c72e20eacaa06c/node_modules/@polka-codes/cli/dist/index.js:116907:5) at Command.<anonymous> (file:///home/runner/.npm/_npx/16c72e20eacaa06c/node_modules/@polka-codes/cli/dist/index.js:116879:13) at Command.listener [as _actionHandler] (file:///home/runner/.npm/_npx/16c72e20eacaa06c/node_modules/@polka-codes/cli/dist/index.js:1423:19) at file:///home/runner/.npm/_npx/16c72e20eacaa06c/node_modules/@polka-codes/cli/dist/index.js:1928:67 at Command._chainOrCall (file:///home/runner/.npm/_npx/16c72e20eacaa06c/node_modules/@polka-codes/cli/dist/index.js:1863:14) at Command._parseCommand (file:///home/runner/.npm/_npx/16c72e20eacaa06c/node_modules/@polka-codes/cli/dist/index.js:1928:29) *** status: 1, signal: null, output: [ null, <Buffer >, <Buffer 66 61 74 61 6c 3a 20 63 6f 75 6c 64 6e 27 74 20 66 69 6e 64 20 72 65 6d 6f 74 65 20 72 65 66 20 72 65 66 73 2f 68 65 61 64 73 2f 72 65 76 69 65 77 2d ... 38 more bytes> ], pid: 3283, stdout: <Buffer >, stderr: <Buffer 66 61 74 61 6c 3a 20 63 6f 75 6c 64 6e 27 74 20 66 69 6e 64 20 72 65 6d 6f 74 65 20 72 65 66 20 72 65 66 73 2f 68 65 61 64 73 2f 72 65 76 69 65 77 2d ... 38 more bytes> ***
handle
Review command failed with exit code 1