Skip to content

fix: 修复多次请求图片的问题 #391

fix: 修复多次请求图片的问题

fix: 修复多次请求图片的问题 #391

Triggered via pull request February 7, 2024 02:55
Status Success
Total duration 16s
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: '7809284985', 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': '195', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Wed, 07 Feb 2024 02:55:49 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': '1C07:0C5D:1125A7A:11ABFF7:65C2F135', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '994', 'x-ratelimit-reset': '1707278147', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '6', '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' } }, 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/16.20.2 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"- 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 (#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/399/merge"}', request: {} }, event: { id: '7809284985', name: 'pull_request', payload: { action: 'opened', number: 399, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/he0119/smart-home-flutter/issues/399/comments' }, commits: { href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/399/commits' }, html: { href: 'https://github.com/he0119/smart-home-flutter/pull/399' }, issue: { href: 'https://api.github.com/repos/he0119/smart-home-flutter/issues/399' }, 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/399/comments' }, self: { href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/399' }, statuses: { href: 'https://api.github.com/repos/he0119/smart-home-flutter/statuses/4cc97da1fd024999672fdebaa70f3832f275366d' } }, active_lock_reason: null, additions: 10, assignee: null, assignees: [], author_association:
Update Release Draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '7809284985', name: 'pull_request', payload: { action: 'opened', number: 399, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/he0119/smart-home-flutter/issues/399/comments' }, commits: { href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/399/commits' }, html: { href: 'https://github.com/he0119/smart-home-flutter/pull/399' }, issue: { href: 'https://api.github.com/repos/he0119/smart-home-flutter/issues/399' }, 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/399/comments' }, self: { href: 'https://api.github.com/repos/he0119/smart-home-flutter/pulls/399' }, statuses: { href: 'https://api.github.com/repos/he0119/smart-home-flutter/statuses/4cc97da1fd024999672fdebaa70f3832f275366d' } }, active_lock_reason: null, additions: 10, assignee: null, assignees: [], author_association: 'OWNER', auto_merge: { commit_message: null, commit_title: null, 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' }, merge_method: 'squash' }, 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:/
Update Release Draft
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.