feat: update #9
Annotations
2 errors and 1 warning
Run anc95/ChatGPT-CodeReview@v1
ChatGPT error 401: {
"error": {
"message": "Incorrect API key provided: sk-lXhXb***************************************GQVz. You can find your API key at https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_api_key"
}
}
{
name: 'event',
id: '8698529107',
err: {
type: 'ChatGPTError',
message: 'ChatGPT error 401: {\n' +
' "error": {\n' +
' "message": "Incorrect API key provided: sk-lXhXb***************************************GQVz. You can find your API key at https://platform.openai.com/account/api-keys.",\n' +
' "type": "invalid_request_error",\n' +
' "param": null,\n' +
' "code": "invalid_api_key"\n' +
' }\n' +
'}\n',
stack: 'Error: ChatGPT error 401: {\n' +
' "error": {\n' +
' "message": "Incorrect API key provided: sk-lXhXb***************************************GQVz. You can find your API key at https://platform.openai.com/account/api-keys.",\n' +
' "type": "invalid_request_error",\n' +
' "param": null,\n' +
' "code": "invalid_api_key"\n' +
' }\n' +
'}\n' +
'\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:165109:29\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)',
statusCode: 401,
statusText: 'Unauthorized',
event: {
id: '8698529107',
name: 'pull_request',
payload: {
action: 'opened',
number: 14,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Talljack/react-starter/issues/14/comments'
},
commits: {
href: 'https://api.github.com/repos/Talljack/react-starter/pulls/14/commits'
},
html: {
href: 'https://github.com/Talljack/react-starter/pull/14'
},
issue: {
href: 'https://api.github.com/repos/Talljack/react-starter/issues/14'
},
review_comment: {
href: 'https://api.github.com/repos/Talljack/react-starter/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Talljack/react-starter/pulls/14/comments'
},
self: {
href: 'https://api.github.com/repos/Talljack/react-starter/pulls/14'
},
statuses: {
href: 'https://api.github.com/repos/Talljack/react-starter/statuses/d75a22647c67c5c712e892543b476bba89f16496'
}
},
active_lock_reason: null,
additions: 2758,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'Talljack:main',
ref: 'main',
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/Talljack/react-starter/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/Talljack/react-starter/assignees{/user}',
blobs_url: 'https://api.github.com/repos/Talljack/react-starter/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/Talljack/react-starter/branches{/branch}',
clone_url: 'https://github.com/Talljack/react-starter.git',
collaborators_url: 'https://api.github.com/repos/Talljack/react-starter/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/Talljack/react-starter/comments{/number}',
commits_url: 'https://api.github.com/repos/Talljack/react-starter/commits{/sha}',
compare_url: 'h
|
Run anc95/ChatGPT-CodeReview@v1
Error: ChatGPT error 401: {
"error": {
"message": "Incorrect API key provided: sk-lXhXb***************************************GQVz. You can find your API key at https://platform.openai.com/account/api-keys.",
"type": "invalid_request_error",
"param": null,
"code": "invalid_api_key"
}
}
at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:165109:29
at processTicksAndRejections (node:internal/process/task_queues:96:5)
{
err: {
type: 'AggregateError',
message: '\n' +
' Error: ChatGPT error 401: {\n' +
' "error": {\n' +
' "message": "Incorrect API key provided: sk-lXhXb***************************************GQVz. You can find your API key at https://platform.openai.com/account/api-keys.",\n' +
' "type": "invalid_request_error",\n' +
' "param": null,\n' +
' "code": "invalid_api_key"\n' +
' }\n' +
' }\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:165109:29\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)',
stack: 'AggregateError: \n' +
' Error: ChatGPT error 401: {\n' +
' "error": {\n' +
' "message": "Incorrect API key provided: sk-lXhXb***************************************GQVz. You can find your API key at https://platform.openai.com/account/api-keys.",\n' +
' "type": "invalid_request_error",\n' +
' "param": null,\n' +
' "code": "invalid_api_key"\n' +
' }\n' +
' }\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:165109:29\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:21449:19\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)',
aggregateErrors: [
{
type: 'ChatGPTError',
message: 'ChatGPT error 401: {\n' +
' "error": {\n' +
' "message": "Incorrect API key provided: sk-lXhXb***************************************GQVz. You can find your API key at https://platform.openai.com/account/api-keys.",\n' +
' "type": "invalid_request_error",\n' +
' "param": null,\n' +
' "code": "invalid_api_key"\n' +
' }\n' +
'}\n',
stack: 'Error: ChatGPT error 401: {\n' +
' "error": {\n' +
' "message": "Incorrect API key provided: sk-lXhXb***************************************GQVz. You can find your API key at https://platform.openai.com/account/api-keys.",\n' +
' "type": "invalid_request_error",\n' +
' "param": null,\n' +
' "code": "invalid_api_key"\n' +
' }\n' +
'}\n' +
'\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:165109:29\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)',
statusCode: 401,
statusText: 'Unauthorized',
event: {
id: '8698529107',
name: 'pull_request',
payload: {
action: 'opened',
number: 14,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Talljack/react-starter/issues/14/comments'
},
commits: {
href: 'https://api.github.com/repos/Talljack/react-starter/pulls/14/commits'
},
html: {
href: 'https://github.com/Talljack/react-starter/pull/14'
},
issue: {
href: 'https://api.github.com/repos/Talljack/react-starter/issues/14'
},
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: anc95/ChatGPT-CodeReview@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading