Skip to content

fix:modify AI the default of ERNIE_BOT_TURBO variable #33

fix:modify AI the default of ERNIE_BOT_TURBO variable

fix:modify AI the default of ERNIE_BOT_TURBO variable #33

Triggered via pull request February 27, 2025 07:28
Status Success
Total duration 13s
Artifacts

ai-code-review.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors
review
Resource not accessible by integration { name: 'event', id: '13561109296', 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:3619:21\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34577:18)', name: 'HttpError', status: 403, response: { url: 'https://api.github.com/repos/opentiny/tiny-engine-webservice/issues/26/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: 'Thu, 27 Feb 2025 07:28:48 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': '4002:DA9A0:2D18C4A:5A9ACF7:67C01430', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4998', 'x-ratelimit-reset': '1740644928', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '2', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/issues/comments#create-an-issue-comment', status: '403' } }, request: { method: 'POST', url: 'https://api.github.com/repos/opentiny/tiny-engine-webservice/issues/26/comments', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.3.0 octokit-core.js/3.6.0 Node.js/20.18.0 (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: '13561109296', name: 'pull_request', payload: { action: 'synchronize', after: 'bc66346b04b85b40a6dab014b4a5ef107846bb11', before: 'c9c9504645de340d38f09dbea97689ec8b0f1cb6', number: 26, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/108050589?v=4', description: 'OpenTiny 是一套企业级前端开发解决方案,提供基于 Vue 的跨端、跨框架 TinyVue 组件库,包含基于 Angular 的 TinyNG 组件库,拥有灵活扩展的低代码引擎 TinyEngine,具备主题配置系统 TinyTheme / 中后台模板TinyPro/TinyCLI命令行等丰富的效率工具。', events_url: 'https://api.github.com/orgs/opentiny/events', hooks_url: 'https://api.github.com/orgs/opentiny/hooks', id: 108050589, issues_url: 'https://api.github.com/orgs/opentiny/issues', login: 'opentiny', members_url: 'https://api.github.com/orgs/opentiny/members{/member}', node_id: 'O_kgDOBnC4nQ', public_members_url: 'https://api.github.com/orgs/opentiny/public_members{/member}', repo
review
HttpError: Resource not accessible by integration at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:3619:21 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34577: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:3619:21\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34577:18)', stack: 'AggregateError: \n' + ' HttpError: Resource not accessible by integration\n' + ' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:3619:21\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34577:18)\n' + ' at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:12925: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:3619:21\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async Job.doExecute (/home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:34577:18)', name: 'HttpError', status: 403, response: { url: 'https://api.github.com/repos/opentiny/tiny-engine-webservice/issues/26/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: 'Thu, 27 Feb 2025 07:28:48 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': '4002:DA9A0:2D18C4A:5A9ACF7:67C01430', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4998', 'x-ratelimit-reset': '1740644928', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '2', 'x-xss-protection': '0' }, data: { message: 'Resource not accessible by integration', documentation_url: 'https://docs.github.com/rest/issues/comments#create-an-issue-comment', status: '403' } }, request: { method: 'POST', url: 'https://api.github.com/repos/opentiny/tiny-engine-webservice/issues/26/comments', headers: { accept: 'application/vnd.github.v3+json',