Skip to content

feat(cli): support for reading and writing messages from/to files #258

feat(cli): support for reading and writing messages from/to files

feat(cli): support for reading and writing messages from/to files #258

Triggered via pull request April 19, 2024 06:41
Status Success
Total duration 12s
Artifacts

cr.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
review
Resource not accessible by integration { name: 'event', id: '8749510124', err: { type: 'RequestError', message: 'Resource not accessible by integration', stack: 'HttpError: Resource not accessible by integration\n' + ' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:19290:21\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + ' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:43707:18)', name: 'HttpError', status: 403, response: { url: 'https://api.github.com/repos/emqx/MQTTX/actions/variables/OPENAI_API_KEY', status: 403, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', connection: 'close', 'content-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Fri, 19 Apr 2024 06:41:43 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'github.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'actions_variables=read', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '3081:9F4D6:4F00C7F:7ECA83E:66221227', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4999', 'x-ratelimit-reset': '1713512503', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '1', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/actions/variables#get-a-repository-variable' } }, request: { method: 'GET', url: 'https://api.github.com/repos/emqx/MQTTX/actions/variables/OPENAI_API_KEY', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.3.0 octokit-core.js/3.6.0 Node.js/16.20.2 (linux; x64)', authorization: 'token [REDACTED]' }, request: {} }, event: { id: '8749510124', name: 'pull_request', payload: { action: 'opened', number: 1629, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/25221711?v=4', description: 'Powering real-time data infrastructure with a unified MQTT platform for messaging, queuing, and streaming.', events_url: 'https://api.github.com/orgs/emqx/events', hooks_url: 'https://api.github.com/orgs/emqx/hooks', id: 25221711, issues_url: 'https://api.github.com/orgs/emqx/issues', login: 'emqx', members_url: 'https://api.github.com/orgs/emqx/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjI1MjIxNzEx', public_members_url: 'https://api.github.com/orgs/emqx/public_members{/member}', repos_url: 'https://api.github.com/orgs/emqx/repos', url: 'https://api.github.com/orgs/emqx' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/emqx/MQTTX/issues/1629/comments' }, commits: { href: 'https://api.github.com/repos/emqx/MQTTX/pulls/1629/commits' }, html: { href: 'https://github.com/emqx/MQTTX/pull/1629' }, issue: { href: 'https://api.git
review
HttpError: Resource not accessible by integration at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:19290:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:43707:18) { err: { type: 'AggregateError', message: '\n' + ' HttpError: Resource not accessible by integration\n' + ' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:19290:21\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + ' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:43707:18)', stack: 'AggregateError: \n' + ' HttpError: Resource not accessible by integration\n' + ' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:19290:21\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + ' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:43707:18)\n' + ' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:21449:19', aggregateErrors: [ { type: 'RequestError', message: 'Resource not accessible by integration', stack: 'HttpError: Resource not accessible by integration\n' + ' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:19290:21\n' + ' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' + ' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/v1/action/index.cjs:43707:18)', name: 'HttpError', status: 403, response: { url: 'https://api.github.com/repos/emqx/MQTTX/actions/variables/OPENAI_API_KEY', status: 403, headers: { 'access-control-allow-origin': '*', 'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset', connection: 'close', 'content-encoding': 'gzip', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Fri, 19 Apr 2024 06:41:43 GMT', 'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin', server: 'github.com', 'strict-transport-security': 'max-age=31536000; includeSubdomains; preload', 'transfer-encoding': 'chunked', vary: 'Accept-Encoding, Accept, X-Requested-With', 'x-accepted-github-permissions': 'actions_variables=read', 'x-content-type-options': 'nosniff', 'x-frame-options': 'deny', 'x-github-api-version-selected': '2022-11-28', 'x-github-media-type': 'github.v3; format=json', 'x-github-request-id': '3081:9F4D6:4F00C7F:7ECA83E:66221227', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4999', 'x-ratelimit-reset': '1713512503', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '1', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/actions/variables#get-a-repository-variable' } }, request: { method: 'GET', url: 'https://api.github.com/repos/emqx/MQTTX/actions/variables/OPENAI_API_KEY', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.3.0 octokit-core.js/3.6.0 Node.js/16.20.2 (linux; x64)',
review
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/.