chore(deps): update dependency mime to v2 #504
release-draft.yml
on: pull_request
Update Release Draft
7s
Annotations
2 errors
Update Release Draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11623634872',
status: 422,
response: {
url: 'https://api.github.com/repos/he0119/smart-home-flutter/releases/140055539',
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: 'Fri, 01 Nov 2024 03:14:36 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': 'BC06:34B09:EA9779E:EC37E7C:6724479C',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1730434473',
'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/he0119/smart-home-flutter/releases/140055539',
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- feat: 网页启用 wasm @he0119 (#418)\\n- feat: 升级至 Flutter 3.22 @he0119 (#410)\\n- feat: 物品管理位置二维码支持完整的网址 @he0119 (#395)\\n\\n## 🐛 Bug 修复\\n\\n- fix(iot): 物联网界面加载失败后添加错误提示 @he0119 (#422)\\n- fix: 修复升级服务器 Filter 用法导致的问题 @he0119 (#417)\\n- fix: 修复多次请求图片的问题 @he0119 (#399)\\n- fix: 捕获解码异常并修复在网页无法打开物品管理主页的问题 @he0119 (#397)\\n- fix: 修复搜索位置无法显示的问题 @he0119 (#396)\\n\\n## 💫 杂项\\n\\n- chore: Configure Renovate @renovate (#407)\\n- build: 优化 Sentry 相关配置的设置方法 @he0119 (#398)","draft":true,"prerelease":false,"make_latest":"true","name":"v0.9.8","tag_name":"v0.9.8","target_commitish":"refs/pull/427/merge"}',
request: {}
},
event: {
id: '11623634872',
name: 'pull_request',
payload: {
action: 'opened',
number: 427,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/issues/427/comments'
},
commits: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/427/commits'
},
html: {
href: 'https://github.com/he0119/smart-home-flutter/pull/427'
},
issue: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/issues/427'
},
review_comment: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/427/comments'
},
self: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/427'
},
statuses: {
href: 'https://api.github.com/repos/he0119/smart
|
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: '11623634872',
name: 'pull_request',
payload: {
action: 'opened',
number: 427,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/issues/427/comments'
},
commits: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/427/commits'
},
html: {
href: 'https://github.com/he0119/smart-home-flutter/pull/427'
},
issue: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/issues/427'
},
review_comment: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/427/comments'
},
self: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/427'
},
statuses: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/statuses/8f6ecade409402a9ee464d3b7b8e00de0d08342d'
}
},
active_lock_reason: null,
additions: 11,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'he0119:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/he0119/smart-home-flutter/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/he0119/smart-home-flutter/assignees{/user}',
blobs_url: 'https://api.github.com/repos/he0119/smart-home-flutter/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/he0119/smart-home-flutter/branches{/branch}',
clone_url: 'https://github.com/he0119/smart-home-flutter.git',
collaborators_url: 'https://api.github.com/repos/he0119/smart-home-flutter/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/he0119/smart-home-flutter/comments{/number}',
commits_url: 'https://api.github.com/repos/he0119/smart-home-flutter/commits{/sha}',
compare_url: 'https://api.github.com/repos/he0119/smart-home-flutter/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/he0119/smart-home-flutter/contents/{+path}',
contributors_url: 'https://api.github.com/repos/he0119/smart-home-flutter/contributors',
created_at: '2020-02-26T09:23:40Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/he0119/smart-home-flutter/deployments',
description: '智慧家庭的客户端',
disabled: false,
downloads_url: 'https://api.github.com/repos/he0119/smart-home-flutter/downloads',
events_url: 'https://api.github.com/repos/he0119/smart-home-flutter/events',
fork: false,
forks: 2,
forks_count: 2,
forks_url: 'https://api.github.com/repos/he0119/smart-home-flutter/forks',
full_name: 'he0119/smart-home-flutter',
git_commits_url: 'https://api.github.com/repos/he0119/smart-home-flutter/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/
|