feat: 升级至 Flutter 3.22 #413
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: '9815023341',
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: 'Sat, 06 Jul 2024 00:27:59 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': 'F387:EF969:13F623E:235C00C:66888F8F',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4982',
'x-ratelimit-reset': '1720227127',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '18',
'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":"- chore(deps): Bump the actions group with 2 updates @dependabot (#404)\\n- chore: Configure Renovate @renovate (#407)\\n- chore(deps): Bump the actions group with 2 updates @dependabot (#401)\\n- build: 优化 Sentry 相关配置的设置方法 @he0119 (#398)\\n- chore(deps): Bump the actions group with 3 updates @dependabot (#393)\\n\\n## Added\\n\\n- feat: 物品管理位置二维码支持完整的网址 @he0119 (#395)\\n\\n## Fixed\\n\\n- fix: 修复多次请求图片的问题 @he0119 (#399)\\n- fix: 捕获解码异常并修复在网页无法打开物品管理主页的问题 @he0119 (#397)\\n- fix: 修复搜索位置无法显示的问题 @he0119 (#396)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.9.8","tag_name":"v0.9.8","target_commitish":"refs/pull/410/merge"}',
request: {}
},
event: {
id: '9815023341',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ab421bbb801cd1996a20decaec69a3ff86606691',
before: '8255bb1af203e155a0eeeb5607761baa6b290710',
number: 410,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/issues/410/comments'
},
commits: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/410/commits'
},
html: {
href: 'https://github.com/he0119/smart-home-flutter/pull/410'
},
issue: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/issues/410'
},
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/410/comments'
},
self: {
href: 'https:
|
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: '9815023341',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ab421bbb801cd1996a20decaec69a3ff86606691',
before: '8255bb1af203e155a0eeeb5607761baa6b290710',
number: 410,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/issues/410/comments'
},
commits: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/410/commits'
},
html: {
href: 'https://github.com/he0119/smart-home-flutter/pull/410'
},
issue: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/issues/410'
},
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/410/comments'
},
self: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/410'
},
statuses: {
href: 'https://api.github.com/repos/he0119/smart-home-flutter/statuses/ab421bbb801cd1996a20decaec69a3ff86606691'
}
},
active_lock_reason: null,
additions: 337,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'he0119:master',
ref: 'master',
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: 'master',
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: 1,
forks_count: 1,
forks_url: 'https://api.github.com/repos/he0119/smart-home-flutter/forks',
full_name: 'he0119/smart-home-flutter',
git_commits_url: 'https://api
|