Skip to content

重构webui适配

重构webui适配 #297

Triggered via pull request December 25, 2024 04:01
Status Success
Total duration 14s
Artifacts

release_draft.yml

on: pull_request
Update Release Draft
6s
Update Release Draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Update Release Draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '12489170872', 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: 'Wed, 25 Dec 2024 04:01:32 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': '1148:A7A86:A662E9:14BF71D:676B839C', 'x-oauth-scopes': 'repo, user, workflow', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4979', 'x-ratelimit-reset': '1735102554', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '21', '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- 分阶段构建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- 🐛 修复自检测试 @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- 🎨 添加首席设计师 @HibiKier (#1756)\\n- 版本更新 @HibiKier (#1720)\\n- ✨ 添加用户消息撤回命令 @HibiKier (#1719)\\n\\n## 📦 依赖更新\\n\\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 (#1796)\\n- :tada: chore(version): 自动更新版本到 v0.2.4-4291cda @AkashiCoin (#1776)\\n- :bug: fix(github\\\\_utils): 适配插件仓库根目录语法 @AkashiCoin (#1784)\\n- 🐞 fix(web\\\\_ui): 修复webui导入路径错误 @meng-luo (#1785)\\n- 重构插件商店更新逻辑\\\\&彻底修复工作流 @molanp (#1782)\\n- 修复戳一戳自检鉴权 @ThelevenFD (#1780)\\n- 修复bot-check工作流 @molanp (#1777)\\n- ♻️ 重构群欢迎消息插件,支持多条消息随机发送 (#1768) @HibiKier (#1774)\\n- 新增戳一戳自检 @ThelevenFD (#1773)\\n- :tada: chore(version): 自动更新版本到 v0.2.4-e363d29 @AkashiCoin (#1759)\\n- Bugfix/fix create user a @HibiKier (#1766)\\n- Feature/buildimage.pic2bytes gif support @HibiKier (#1761)\\n- :tada: chore(version): 自动更新版本到 v0.2.4-c7c759f @AkashiCoin (#1750)\\n- :
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: '12489170872', name: 'pull_request', payload: { action: 'synchronize', after: '52f4081e0b43d301834ccb776387236ed239a061', before: '280f9913475149f598f5d5b1ff1dc199b82d0f3e', number: 1801, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1801/comments' }, commits: { href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1801/commits' }, html: { href: 'https://github.com/HibiKier/zhenxun_bot/pull/1801' }, issue: { href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1801' }, 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/1801/comments' }, self: { href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1801' }, statuses: { href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/statuses/52f4081e0b43d301834ccb776387236ed239a061' } }, active_lock_reason: null, additions: 1950, 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: 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/repo
Update Release Draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636