chore: radio mini #168
Annotations
2 errors
test
Resource not accessible by integration
{
name: 'event',
id: '6438546226',
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/main/action/index.cjs:4070:21\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34389:18)',
name: 'HttpError',
status: 403,
response: {
url: 'https://api.github.com/repos/ZhongAnTech/zarm/issues/1139/comments',
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: 'Sat, 07 Oct 2023 02:40:50 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': 'issues=write; pull_requests=write',
'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': '9C02:725F:14270A2:28E16C0:6520C532',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '995',
'x-ratelimit-reset': '1696650048',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/issues/comments#create-an-issue-comment'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/ZhongAnTech/zarm/issues/1139/comments',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.3.0 octokit-core.js/3.6.0 Node.js/16.20.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: `{"body":"Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow [readme](https://github.com/anc95/ChatGPT-CodeReview) for more information"}`,
request: { retryCount: 1 }
},
event: {
id: '6438546226',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '647dda36b06f54c2d26deab60ea17045126f1ee2',
before: 'f1cfafb8f1653d7fb8edf13bf2065789c2218d70',
number: 1139,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/30611587?v=4',
description: '',
events_url: 'https://api.github.com/orgs/ZhongAnTech/events',
hooks_url: 'https://api.github.com/orgs/ZhongAnTech/hooks',
id: 30611587,
issues_url: 'https://api.github.com/orgs/ZhongAnTech/issues',
login: 'ZhongAnTech',
members_url: 'https://api.github.com/orgs/ZhongAnTech/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjMwNjExNTg3',
public_members_url: 'https://api.github.com/orgs/ZhongAnTech/public_members{/member}',
repos_url: 'https://api.github.com/orgs/ZhongAnTech/repos',
url: 'https://api.github.com/orgs/ZhongAnTech'
},
pull_request: {
_links: {
|
test
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:4070:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34389:18)
{
err: {
type: 'AggregateError',
message: '\n' +
' HttpError: Resource not accessible by integration\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:4070:21\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34389:18)',
stack: 'AggregateError: \n' +
' HttpError: Resource not accessible by integration\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:4070:21\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34389:18)\n' +
' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:13376: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/main/action/index.cjs:4070:21\n' +
' at processTicksAndRejections (node:internal/process/task_queues:96:5)\n' +
' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34389:18)',
name: 'HttpError',
status: 403,
response: {
url: 'https://api.github.com/repos/ZhongAnTech/zarm/issues/1139/comments',
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: 'Sat, 07 Oct 2023 02:40:50 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': 'issues=write; pull_requests=write',
'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': '9C02:725F:14270A2:28E16C0:6520C532',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '995',
'x-ratelimit-reset': '1696650048',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/issues/comments#create-an-issue-comment'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/ZhongAnTech/zarm/issues/1139/comments',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.3.0 octokit-core.js/3.6.0 Node.js/16.20.1 (linux; x64)',
|