feat: Add generic Stream interface and improve code quality (#6) #31
Annotations
2 errors and 1 warning
Run release-drafter/release-drafter@v5
Resource not accessible by integration
{
name: 'HttpError',
id: '12513925469',
status: 403,
response: {
url: 'https://api.github.com/repos/coze-dev/coze-go/releases',
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, 27 Dec 2024 08:42:57 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': 'contents=write; contents=write,workflows=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': '1DC4:11A572:5274231:A477DAA:676E6891',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4991',
'x-ratelimit-reset': '1735292507',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '9',
'x-xss-protection': '0'
},
data: {
message: 'Resource not accessible by integration',
documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
status: '403'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/coze-dev/coze-go/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/heads/main","name":"v0.1.0","tag_name":"v0.1.0","body":"## Changes\\n\\n## 🚀 Features\\n\\n- feat: Add generic Stream interface and improve code quality @hanzeINGH (#6)\\n- refactor: Implement new pagination with NumberPaged and LastIDPaged @hanzeINGH (#5)\\n- refactor: Enhance OAuth-related functions with context and struct params @hanzeINGH (#3)\\n- feat: Initialize Go SDK @hanzeINGH (#1)\\n\\n## 🐛 Bug Fixes\\n\\n- fix: Resolve go build issues @hanzeINGH (#4)\\n\\n## 🧰 Maintenance\\n\\n- chore: Fix CI pipeline issues @hanzeINGH (#2)\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '12513925469',
name: 'push',
payload: {
after: '2e13d814b56f2ab7803b015115de8d220e206385',
base_ref: null,
before: 'a81c6dd2ab0d9f050c31b7c4ff96f715f5ac154b',
commits: [
{
author: {
email: 'gouqinggan@bytedance.com',
name: 'hanzeINGH',
username: 'hanzeINGH'
},
committer: {
email: 'noreply@github.com',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: '2e13d814b56f2ab7803b015115de8d220e206385',
message: 'feat: Add generic Stream interface and improve code quality (#6)\n' +
'\n' +
'- Implement generic Stream interface for streaming APIs\r\n' +
"- Refactor 'chats' to 'chat' for consistency\r\n" +
'- Integrate gofumpt check into CI pipeline',
timestamp: '2024-12-27T16:41:34+08:00',
tree_id: '96a565a2e9ed4a6464098546b6ff6f2f95248f7e',
url: 'https://github.com/coze-dev/coze-go/commit/2e13d814b56f2ab7803b015115de8d220e206385'
}
],
compare: 'https://github.com/coze-dev/coze-go/compare/a81c6dd2ab0d...2e13d814b56f',
|
Run release-drafter/release-drafter@v5
HttpError: Resource not accessible by integration
at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '12513925469',
name: 'push',
payload: {
after: '2e13d814b56f2ab7803b015115de8d220e206385',
base_ref: null,
before: 'a81c6dd2ab0d9f050c31b7c4ff96f715f5ac154b',
commits: [
{
author: {
email: 'gouqinggan@bytedance.com',
name: 'hanzeINGH',
username: 'hanzeINGH'
},
committer: {
email: 'noreply@github.com',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: '2e13d814b56f2ab7803b015115de8d220e206385',
message: 'feat: Add generic Stream interface and improve code quality (#6)\n' +
'\n' +
'- Implement generic Stream interface for streaming APIs\r\n' +
"- Refactor 'chats' to 'chat' for consistency\r\n" +
'- Integrate gofumpt check into CI pipeline',
timestamp: '2024-12-27T16:41:34+08:00',
tree_id: '96a565a2e9ed4a6464098546b6ff6f2f95248f7e',
url: 'https://github.com/coze-dev/coze-go/commit/2e13d814b56f2ab7803b015115de8d220e206385'
}
],
compare: 'https://github.com/coze-dev/coze-go/compare/a81c6dd2ab0d...2e13d814b56f',
created: false,
deleted: false,
forced: false,
head_commit: {
author: {
email: 'gouqinggan@bytedance.com',
name: 'hanzeINGH',
username: 'hanzeINGH'
},
committer: {
email: 'noreply@github.com',
name: 'GitHub',
username: 'web-flow'
},
distinct: true,
id: '2e13d814b56f2ab7803b015115de8d220e206385',
message: 'feat: Add generic Stream interface and improve code quality (#6)\n' +
'\n' +
'- Implement generic Stream interface for streaming APIs\r\n' +
"- Refactor 'chats' to 'chat' for consistency\r\n" +
'- Integrate gofumpt check into CI pipeline',
timestamp: '2024-12-27T16:41:34+08:00',
tree_id: '96a565a2e9ed4a6464098546b6ff6f2f95248f7e',
url: 'https://github.com/coze-dev/coze-go/commit/2e13d814b56f2ab7803b015115de8d220e206385'
},
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/157483752?v=4',
description: 'Next-generation AI chatbot building platform. Quickly create bots without coding and publish them on various platforms',
events_url: 'https://api.github.com/orgs/coze-dev/events',
hooks_url: 'https://api.github.com/orgs/coze-dev/hooks',
id: 157483752,
issues_url: 'https://api.github.com/orgs/coze-dev/issues',
login: 'coze-dev',
members_url: 'https://api.github.com/orgs/coze-dev/members{/member}',
node_id: 'O_kgDOCWMC6A',
public_members_url: 'https://api.github.com/orgs/coze-dev/public_members{/member}',
repos_url: 'https://api.github.com/orgs/coze-dev/repos',
url: 'https://api.github.com/orgs/coze-dev'
},
pusher: { email: 'chyroc@qq.com', name: 'chyroc' },
ref: 'refs/heads/main',
repository: {
allow_forking: true,
archive_url: 'https://api.github.com/repos/coze-dev/coze-go/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/coze-dev/coze-go/assignees{/user}',
blobs_url: 'https://api.github.com/repos/coze-dev/coze-go/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/coze-dev/coze-go/branches{/branch}',
clone_url: 'https://github.com/coze-dev/coze-go.git',
collaborators_url: 'https://api.github.com/repos/coze-dev/coze-go/collaborators{/collaborator}',
comments_url: 'https://api.github.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading