Skip to content

feat(copilot): support custom copilot api #278

feat(copilot): support custom copilot api

feat(copilot): support custom copilot api #278

Re-run triggered May 20, 2024 07:54
Status Success
Total duration 16s
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: '9145379699', 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: 'Mon, 20 May 2024 07:55:03 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': '2411:1425F9:69B4B7F:6ACCB3E:664B01D7', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4999', 'x-ratelimit-reset': '1716195303', '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: '9145379699', name: 'pull_request', payload: { action: 'opened', number: 1660, 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/1660/comments' }, commits: { href: 'https://api.github.com/repos/emqx/MQTTX/pulls/1660/commits' }, html: { href: 'https://github.com/emqx/MQTTX/pull/1660' }, issue: { href: 'https://api.gi
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: 'Mon, 20 May 2024 07:55:03 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': '2411:1425F9:69B4B7F:6ACCB3E:664B01D7', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4999', 'x-ratelimit-reset': '1716195303', '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/.