🎉 chore(version): 自动更新版本到 v0.2.4-6e74065 #159
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: '12029653937',
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: 'Tue, 26 Nov 2024 11:30:04 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': 'FC76:13B589:1B97827:366580A:6745B13C',
'x-oauth-scopes': 'repo, user, workflow',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4985',
'x-ratelimit-reset': '1732624052',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '15',
'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.18.0 (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 (#1743)\\n- :tada: chore(version): 自动更新版本到 v0.2.4-dd39a2a @AkashiCoin (#1742)\\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/1745/merge"}',
request: {}
},
event: {
id: '12029653937',
name: 'pull_request',
payload: {
action: 'opened',
number: 1745,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1745/comments'
},
commits: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1745/commits'
},
html: { href: 'https://github.com/HibiKier/zhenxun_bot/pull/1745' },
issue: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1745'
},
review_comment: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/comments{/number}'
},
review_comments: {
href:
|
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: '12029653937',
name: 'pull_request',
payload: {
action: 'opened',
number: 1745,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1745/comments'
},
commits: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1745/commits'
},
html: { href: 'https://github.com/HibiKier/zhenxun_bot/pull/1745' },
issue: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1745'
},
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/1745/comments'
},
self: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1745'
},
statuses: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/statuses/12f65f9e245f39d9ca9d46062ff9f9c7d9851a6f'
}
},
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: 604,
forks_count: 604,
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
|