Skip to content

add support for elastic scam info details #734

add support for elastic scam info details

add support for elastic scam info details #734

Triggered via pull request February 26, 2024 22:39
Status Success
Total duration 16s
Artifacts

chatgpt.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
test
Unexpected token ' in JSON at position 1 { name: 'event', id: '8056593772', err: { type: 'SyntaxError', message: "Unexpected token ' in JSON at position 1", stack: "SyntaxError: Unexpected token ' in JSON at position 1\n" + ' at JSON.parse (<anonymous>)\n' + ' at Chat.codeReview (/home/runner/work/_actions/tanghel/ChatGPT-CodeReview/main/action/index.cjs:161524:32)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + ' at async /home/runner/work/_actions/tanghel/ChatGPT-CodeReview/main/action/index.cjs:161441:25\n' + ' at async Promise.all (index 0)', event: { id: '8056593772', name: 'pull_request', payload: { action: 'synchronize', after: '726a7c9be9bc4a2c41fc4159ab9fb3e874275633', before: 'b8605af32eba4f8bfea3e92de5552ef4ad1e0fad', number: 1187, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/114073177?v=4', description: '', events_url: 'https://api.github.com/orgs/multiversx/events', hooks_url: 'https://api.github.com/orgs/multiversx/hooks', id: 114073177, issues_url: 'https://api.github.com/orgs/multiversx/issues', login: 'multiversx', members_url: 'https://api.github.com/orgs/multiversx/members{/member}', node_id: 'O_kgDOBsyeWQ', public_members_url: 'https://api.github.com/orgs/multiversx/public_members{/member}', repos_url: 'https://api.github.com/orgs/multiversx/repos', url: 'https://api.github.com/orgs/multiversx' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/multiversx/mx-api-service/issues/1187/comments' }, commits: { href: 'https://api.github.com/repos/multiversx/mx-api-service/pulls/1187/commits' }, html: { href: 'https://github.com/multiversx/mx-api-service/pull/1187' }, issue: { href: 'https://api.github.com/repos/multiversx/mx-api-service/issues/1187' }, review_comment: { href: 'https://api.github.com/repos/multiversx/mx-api-service/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/multiversx/mx-api-service/pulls/1187/comments' }, self: { href: 'https://api.github.com/repos/multiversx/mx-api-service/pulls/1187' }, statuses: { href: 'https://api.github.com/repos/multiversx/mx-api-service/statuses/726a7c9be9bc4a2c41fc4159ab9fb3e874275633' } }, active_lock_reason: null, additions: 161, assignee: null, assignees: [], author_association: 'CONTRIBUTOR', auto_merge: null, base: { label: 'multiversx:development', ref: 'development', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: true, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/multiversx/mx-api-service/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/multiversx/mx-api-service/assignees{/user}', blobs_url: 'https://api.github.com/repos/multiversx/mx-api-service/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/multiversx/mx-api-service/branches{/branch}', clone_url: 'https://github.com/multiversx/mx-api-service.git', collaborators_url: 'https://api.github.com/repos/multiversx/mx-api-service/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/multiversx/mx-api-service/comments{/number}', commit
test
SyntaxError: Unexpected token ' in JSON at position 1 at JSON.parse (<anonymous>) at Chat.codeReview (/home/runner/work/_actions/tanghel/ChatGPT-CodeReview/main/action/index.cjs:161524:32) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async /home/runner/work/_actions/tanghel/ChatGPT-CodeReview/main/action/index.cjs:161441:25 at async Promise.all (index 0) { err: { type: 'AggregateError', message: '\n' + " SyntaxError: Unexpected token ' in JSON at position 1\n" + ' at JSON.parse (<anonymous>)\n' + ' at Chat.codeReview (/home/runner/work/_actions/tanghel/ChatGPT-CodeReview/main/action/index.cjs:161524:32)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + ' at async /home/runner/work/_actions/tanghel/ChatGPT-CodeReview/main/action/index.cjs:161441:25\n' + ' at async Promise.all (index 0)', stack: 'AggregateError: \n' + " SyntaxError: Unexpected token ' in JSON at position 1\n" + ' at JSON.parse (<anonymous>)\n' + ' at Chat.codeReview (/home/runner/work/_actions/tanghel/ChatGPT-CodeReview/main/action/index.cjs:161524:32)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + ' at async /home/runner/work/_actions/tanghel/ChatGPT-CodeReview/main/action/index.cjs:161441:25\n' + ' at async Promise.all (index 0)\n' + ' at /home/runner/work/_actions/tanghel/ChatGPT-CodeReview/main/action/index.cjs:21269:19\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)', aggregateErrors: [ { type: 'SyntaxError', message: "Unexpected token ' in JSON at position 1", stack: "SyntaxError: Unexpected token ' in JSON at position 1\n" + ' at JSON.parse (<anonymous>)\n' + ' at Chat.codeReview (/home/runner/work/_actions/tanghel/ChatGPT-CodeReview/main/action/index.cjs:161524:32)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + ' at async /home/runner/work/_actions/tanghel/ChatGPT-CodeReview/main/action/index.cjs:161441:25\n' + ' at async Promise.all (index 0)', event: { id: '8056593772', name: 'pull_request', payload: { action: 'synchronize', after: '726a7c9be9bc4a2c41fc4159ab9fb3e874275633', before: 'b8605af32eba4f8bfea3e92de5552ef4ad1e0fad', number: 1187, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/114073177?v=4', description: '', events_url: 'https://api.github.com/orgs/multiversx/events', hooks_url: 'https://api.github.com/orgs/multiversx/hooks', id: 114073177, issues_url: 'https://api.github.com/orgs/multiversx/issues', login: 'multiversx', members_url: 'https://api.github.com/orgs/multiversx/members{/member}', node_id: 'O_kgDOBsyeWQ', public_members_url: 'https://api.github.com/orgs/multiversx/public_members{/member}', repos_url: 'https://api.github.com/orgs/multiversx/repos', url: 'https://api.github.com/orgs/multiversx' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/multiversx/mx-api-service/issues/1187/comments' }, commits: { href: 'https://api.github.com/repos/multiversx/mx-api-service/pulls/1187/commits' }, html: { href: 'https://github.com/multiversx/mx-api-service/pull/1187' }, issue: { href: 'https://api.github.com/repos/multiversx/mx-api-service/issues/1187' }, review_comment: { href: 'https://api.g
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: tanghel/ChatGPT-CodeReview@main. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.