修复输入卡顿的问题 #78
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11026810095',
status: 422,
response: {
url: 'https://api.github.com/repos/Richasy/Rodel.Agent/releases/165958571',
status: 422,
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-length': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 25 Sep 2024 05:21:35 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'contents=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': '4006:155214:24596B8:4522F8E:66F39DDF',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1727245293',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'invalid',
field: 'target_commitish'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/Richasy/Rodel.Agent/releases/165958571',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## 更改记录 / Changelog\\n\\n## 🚀 功能 / Features\\n\\n- 添加内部提示词测试工具 @Richasy (#75)\\n- 基于公共库调整 UI @Richasy (#69)\\n- 添加 GPT-4o mini 内建支持 @Richasy (#66)\\n\\n## 🐛 Bug 修复 / Bug fixes\\n\\n- 异步计算标记 @Richasy (#64)\\n\\n## 🧰 管理与维护 / Maintain\\n\\n- 更新到 WinAppSDK 1.6 @Richasy (#74)\\n- 升级依赖,修复UI @Richasy (#70)\\n\\n<a title=\\"Get from Microsoft\\" href=\\"https://www.microsoft.com/store/apps/9NB0NB3MLQTM?launch=true&mode=full\\" target=\\"_blank\\"><picture><source srcset=\\"https://get.microsoft.com/images/en-US%20light.svg\\" media=\\"(prefers-color-scheme: dark)\\"><source srcset=\\"https://get.microsoft.com/images/en-US%20dark.svg\\" media=\\"(prefers-color-scheme: light), (prefers-color-scheme: no-preference)\\"><img src=\\"https://get.microsoft.com/images/en-US%20dark.svg\\" width=\\"144\\"></picture></a>\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v2.2407.4 🌈","tag_name":"v2.2407.4","target_commitish":"refs/pull/76/merge"}',
request: {}
},
event: {
id: '11026810095',
name: 'pull_request',
payload: {
action: 'opened',
number: 76,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Richasy/Rodel.Agent/issues/76/comments'
},
commits: {
href: 'https://api.github.com/repos/Richasy/Rodel.Agent/pulls/76/commits'
},
html: { href: 'https://github.com/Richasy/Rodel.Agent/pull/76' },
issue: {
href: 'https://api.github.com/repos/Richasy/Rodel.Agent/issues/76'
},
review_comment: {
href: 'https://api.github.com/repos/Richasy/Rodel.Agent/pulls/comments{/number}'
},
review_comments: {
href: 'htt
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
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: '11026810095',
name: 'pull_request',
payload: {
action: 'opened',
number: 76,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Richasy/Rodel.Agent/issues/76/comments'
},
commits: {
href: 'https://api.github.com/repos/Richasy/Rodel.Agent/pulls/76/commits'
},
html: { href: 'https://github.com/Richasy/Rodel.Agent/pull/76' },
issue: {
href: 'https://api.github.com/repos/Richasy/Rodel.Agent/issues/76'
},
review_comment: {
href: 'https://api.github.com/repos/Richasy/Rodel.Agent/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Richasy/Rodel.Agent/pulls/76/comments'
},
self: {
href: 'https://api.github.com/repos/Richasy/Rodel.Agent/pulls/76'
},
statuses: {
href: 'https://api.github.com/repos/Richasy/Rodel.Agent/statuses/ece250d719172c6ce602bb4d9de9e75e55df13cc'
}
},
active_lock_reason: null,
additions: 31,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'Richasy:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/assignees{/user}',
blobs_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/branches{/branch}',
clone_url: 'https://github.com/Richasy/Rodel.Agent.git',
collaborators_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/comments{/number}',
commits_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/commits{/sha}',
compare_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/contents/{+path}',
contributors_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/contributors',
created_at: '2024-04-26T12:52:24Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/deployments',
description: '支持主流在线 AI 服务的应用',
disabled: false,
downloads_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/downloads',
events_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/events',
fork: false,
forks: 19,
forks_count: 19,
forks_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/forks',
full_name: 'Richasy/Rodel.Agent',
git_commits_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/Richasy/Rodel.Agent/git/tags{/sha}',
git_url: 'git://github.com/Rich
|
update_release_draft
The following actions use a deprecated Node.js version and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|