🐛 修复添加插件依赖更新 #366
release_draft.yml
on: pull_request
Update Release Draft
12s
Annotations
2 errors and 5 warnings
Update Release Draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12905270700',
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',
'content-length': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 22 Jan 2025 09:35:07 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': 'A042:14B8C5:401930A:7FA3A2A:6790BBCA',
'x-oauth-scopes': 'repo, user, workflow',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4992',
'x-ratelimit-reset': '1737539890',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '8',
'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.4.0 octokit-core.js/3.6.0 Node.js/20.18.0 (linux; x64)',
'x-github-delivery': '12905270700',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## 🚀 新功能\\n\\n- :sparkles: 新增好感度/金币设置和详细帮助 @HibiKier (#1831)\\n- ✨ Compatible with pydantic 2.0 @BalconyJH (#1826)\\n- ✨ 使用env中的日志等级记录日志 @HibiKier (#1821)\\n- ✨ 新增全新商店界面 @HibiKier (#1816)\\n- ✨ 资源下载分离 @HibiKier (#1814)\\n- 分阶段构建Docker镜像,精简生成镜像体积 (#1752) @BalconyJH (#1764)\\n- Develop: 完全使用 ruff 替代 isort 与 black @BalconyJH (#1757)\\n- ✨ 插件配置新增is\\\\_show控制是否显示在菜单中 @HibiKier (#1749)\\n- ✨ 添加用户消息撤回命令 @HibiKier (#1719)\\n- ✨ 指定bot的功能管理 @HibiKier (#1706)\\n\\n## 🐛 Bug 修复\\n\\n- :bug: 修复Config add配置时显示问题 @HibiKier (#1835)\\n- :bug: 修复商店购买 @HibiKier (#1834)\\n- 🐛 移除神秘药水2道具 @HibiKier (#1828)\\n- 🐛 移除resources,图标不存在时不会显示图片 @HibiKier (#1820)\\n- 🐛 修复商品图标显示问题,移除测试道具 @HibiKier (#1817)\\n- 🐛 修复群组中插件默认状态 @HibiKier (#1810)\\n- 🐛 修复自检测试 @HibiKier (#1795)\\n- 🐛 修复使用道具错误 @HibiKier (#1790)\\n- :bug: Fix help\\\\_type in create\\\\_help\\\\_img may be none and cause AttributeError. @BalconyJH (#1791)\\n- 🐛 修改webui导入路径 @HibiKier (#1783)\\n- 🐛 优化Bot管理插件,更新使用说明及代码结构 @HibiKier (#1767)\\n- 🐛 BotConsole添加迁移sql @HibiKier (#1765)\\n- :bug: fix bot console init @BalconyJH (#1760)\\n\\n## 📝 文档更新\\n\\n- 重构webui适配 @HibiKier (#1801)\\n- 🎨 添加首席设计师 @HibiKier (#1756)\\n- 版本更新 @HibiKier (#1720)\\n- ✨ 添加用户消息撤回命令 @HibiKier (#1719)\\n\\n## 📦 依赖更新\\n\\n- ✨ Compatible with pydantic 2.0 @BalconyJH (#1826)\\n- ⚡️ 优化自检插件逻辑,增加规则判断,添加nonebug配置 @HibiKier (#1792)\\n- 🐛 修改webui导入路径 @HibiKier (#1783)\\n- chore/cleanup-dependencies @BalconyJH (#1763)\\n- 添加Bot管理插件 @HibiKier (#1758)\\n- Develop: 完全使用 ruff 替代 isort 与 black @BalconyJH (#1757)\\n- ⬆️ 提高pil依赖版本 @HibiKier (#1746)\\n\\n## 💫 杂项\\n\\n- 🚑 修复插件配置项显示 @HibiKier (#1824)\\n- 🚑 修复商品图标显示 @HibiKier (#1823)\\n- :tada: chore(version): 自动更新版本到 v0.2.4-2c97eea @akash
|
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:7146: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:61885:18)
{
name: 'AggregateError',
event: {
id: '12905270700',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '91f97133e22b78d23aaae37160441b803bc3afc7',
before: 'baf5d845c16e1445099e042a53c34d14c0a63012',
number: 1837,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1837/comments'
},
commits: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1837/commits'
},
html: { href: 'https://github.com/HibiKier/zhenxun_bot/pull/1837' },
issue: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1837'
},
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/1837/comments'
},
self: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1837'
},
statuses: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/statuses/91f97133e22b78d23aaae37160441b803bc3afc7'
}
},
active_lock_reason: null,
additions: 249,
assignee: null,
assignees: [],
author_association: 'OWNER',
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: 607,
forks_count: 607,
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
|
Update Release Draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Update Release Draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
Update Release Draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
Update Release Draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
Update Release Draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|