chore(deps): update dependency mime to v2 #540
release-draft.yml
on: pull_request
Update Release Draft
7s
Annotations
2 errors and 1 warning
Update Release Draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12158301428',
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: 'Wed, 04 Dec 2024 10:58:01 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': '60AE:10A789:13FA1EA:27A8CBC:675035B9',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4888',
'x-ratelimit-reset': '1733311317',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '112',
'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.18.0 (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: '12158301428',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '12ee50a52c20b5d2d5ec8d34326c3fdfd297316d',
before: '5ad41230aa771d70e6081b97b2924dcb78fc1c58',
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/sm
|
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: '12158301428',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '12ee50a52c20b5d2d5ec8d34326c3fdfd297316d',
before: '5ad41230aa771d70e6081b97b2924dcb78fc1c58',
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/12ee50a52c20b5d2d5ec8d34326c3fdfd297316d'
}
},
active_lock_reason: null,
additions: 11,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: {
commit_message: 'Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>',
commit_title: 'chore(deps): update dependency mime to v2 (#427)',
enabled_by: {
avatar_url: 'https://avatars.githubusercontent.com/u/5219550?v=4',
events_url: 'https://api.github.com/users/he0119/events{/privacy}',
followers_url: 'https://api.github.com/users/he0119/followers',
following_url: 'https://api.github.com/users/he0119/following{/other_user}',
gists_url: 'https://api.github.com/users/he0119/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/he0119',
id: 5219550,
login: 'he0119',
node_id: 'MDQ6VXNlcjUyMTk1NTA=',
organizations_url: 'https://api.github.com/users/he0119/orgs',
received_events_url: 'https://api.github.com/users/he0119/received_events',
repos_url: 'https://api.github.com/users/he0119/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/he0119/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/he0119/subscriptions',
type: 'User',
url: 'https://api.github.com/users/he0119',
user_view_type: 'public'
},
merge_method: 'squash'
},
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://gith
|
Update Release Draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|