常规更新依赖 #166
release-drafter.yml
on: pull_request
update_release_draft
6s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '7472171208',
status: 422,
response: {
url: 'https://api.github.com/repos/Richasy/Bili.Copilot/releases/135966736',
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, 10 Jan 2024 08:27:22 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': '88CB:2785:16E89:2FFFB:659E54E9',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '987',
'x-ratelimit-reset': '1704876553',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '13',
'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/Richasy/Bili.Copilot/releases/135966736',
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":"## 更改记录\\n\\n## 🚀 功能\\n\\n- 添加 QQ 群组信息 @Richasy (#214)\\n- 添加追番/追剧跳转 @Richasy (#213)\\n- 重新设计动态页面 @Richasy (#212)\\n\\n## 🐛 Bug 修复\\n\\n- 修复全局播放速率会影响直播的问题 @Richasy (#222)\\n- 修复重复搜索没有生效的问题 @Richasy (#216)\\n- 修复搜索崩溃的问题 @Richasy (#211)\\n- 修复影视索引排序问题 @Richasy (#210)\\n- 修复播放直播时的 Format 问题 @Richasy (#208)\\n- 修复 ARM64 的引用问题 @Richasy (#207)\\n\\n## 🧰 管理与维护\\n\\n- 优化播放器 @Richasy (#219)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v1.2401.3 🌈","tag_name":"v1.2401.3","target_commitish":"refs/pull/223/merge"}',
request: {}
},
event: {
id: '7472171208',
name: 'pull_request',
payload: {
action: 'opened',
number: 223,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/issues/223/comments'
},
commits: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/pulls/223/commits'
},
html: { href: 'https://github.com/Richasy/Bili.Copilot/pull/223' },
issue: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/issues/223'
},
review_comment: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/pulls/223/comments'
},
self: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/pulls/223'
},
statuses: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/statuses/91699b23637939fb43f1622ed72294dbfa7e9666'
}
},
active_lock_reason: null,
additions: 164,
assignee: null,
as
|
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: '7472171208',
name: 'pull_request',
payload: {
action: 'opened',
number: 223,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/issues/223/comments'
},
commits: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/pulls/223/commits'
},
html: { href: 'https://github.com/Richasy/Bili.Copilot/pull/223' },
issue: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/issues/223'
},
review_comment: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/pulls/223/comments'
},
self: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/pulls/223'
},
statuses: {
href: 'https://api.github.com/repos/Richasy/Bili.Copilot/statuses/91699b23637939fb43f1622ed72294dbfa7e9666'
}
},
active_lock_reason: null,
additions: 164,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'Richasy:master',
ref: 'master',
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/Richasy/Bili.Copilot/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/assignees{/user}',
blobs_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/branches{/branch}',
clone_url: 'https://github.com/Richasy/Bili.Copilot.git',
collaborators_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/comments{/number}',
commits_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/commits{/sha}',
compare_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/contents/{+path}',
contributors_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/contributors',
created_at: '2023-07-14T07:13:59Z',
default_branch: 'master',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/deployments',
description: '哔哩哔哩用户的个人助理',
disabled: false,
downloads_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/downloads',
events_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/events',
fork: false,
forks: 25,
forks_count: 25,
forks_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/forks',
full_name: 'Richasy/Bili.Copilot',
git_commits_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/Richasy/Bili.Copilot/git/tags{/sha}',
git
|