🎉 chore(version): 自动更新版本到 v0.2.4-dd39a2a #155
release_draft.yml
on: pull_request
Update Release Draft
4s
Annotations
2 errors
Update Release Draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11995152676',
status: 422,
response: {
url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/releases/187154325',
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: 'Sun, 24 Nov 2024 10:01:25 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-oauth-scopes': 'repo',
'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': '0D06:123B1C:12E6806:250EF4D:6742F975',
'x-oauth-scopes': 'repo, user, workflow',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4990',
'x-ratelimit-reset': '1732446066',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '10',
'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/HibiKier/zhenxun_bot/releases/187154325',
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":"## 🚀 新功能\\n\\n- ✨ 添加用户消息撤回命令 @HibiKier (#1719)\\n- ✨ 指定bot的功能管理 @HibiKier (#1706)\\n\\n## 📝 文档更新\\n\\n- 版本更新 @HibiKier (#1720)\\n- ✨ 添加用户消息撤回命令 @HibiKier (#1719)\\n\\n## 💫 杂项\\n\\n- ✨ 添加小真寻的口癖配置 @HibiKier (#1738)\\n- 🎨 重启代码结构优化 @HibiKier (#1737)\\n- Document/add conduct and contributing @BalconyJH (#1736)\\n- ✨ webui和数据库页面和查询所有表支持mysql和sqlite @HibiKier (#1732)\\n- ✨ 进群欢迎/退群提醒被动默认关闭 @HibiKier (#1731)\\n- ✨ 早晚安被动默认关闭 @HibiKier (#1730)\\n- 📝 使用 issue 表单替换 issue 模板 @BalconyJH (#1727)\\n- :tada: chore(version): 自动更新版本到 v0.2.4-6359ba6 @AkashiCoin (#1692)\\n- 🐞 fix: 更新货物未找到异常的信息处理方式 @meng-luo (#1713)\\n- 🎈 perf(image\\\\_utils): 在image\\\\_utils中禁用代理下载 @meng-luo (#1710)","draft":true,"prerelease":false,"make_latest":"true","name":"v0.2.5","tag_name":"v0.2.5","target_commitish":"refs/pull/1742/merge"}',
request: {}
},
event: {
id: '11995152676',
name: 'pull_request',
payload: {
action: 'opened',
number: 1742,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1742/comments'
},
commits: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1742/commits'
},
html: { href: 'https://github.com/HibiKier/zhenxun_bot/pull/1742' },
issue: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1742'
},
review_comment: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1742/comments'
},
self: {
|
Update Release Draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6/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/v6/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '11995152676',
name: 'pull_request',
payload: {
action: 'opened',
number: 1742,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1742/comments'
},
commits: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1742/commits'
},
html: { href: 'https://github.com/HibiKier/zhenxun_bot/pull/1742' },
issue: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1742'
},
review_comment: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1742/comments'
},
self: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1742'
},
statuses: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/statuses/8a168b0702e245cbd592aa85af5a802dc4254091'
}
},
active_lock_reason: null,
additions: 1,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'HibiKier: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/HibiKier/zhenxun_bot/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/assignees{/user}',
blobs_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/branches{/branch}',
clone_url: 'https://github.com/HibiKier/zhenxun_bot.git',
collaborators_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/comments{/number}',
commits_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/commits{/sha}',
compare_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/contents/{+path}',
contributors_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/contributors',
created_at: '2021-05-16T23:49:20Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/deployments',
description: '基于 Nonebot2 开发,非常可爱的绪山真寻bot',
disabled: false,
downloads_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/downloads',
events_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/events',
fork: false,
forks: 606,
forks_count: 606,
forks_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/forks',
full_name: 'HibiKier/zhenxun_bot',
git_commits_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot
|