版本更新 #111
release_draft.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: '11680103113',
status: 422,
response: {
url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/releases',
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: 'Tue, 05 Nov 2024 08:16:55 GMT',
'github-authentication-token-expiration': '2024-11-10 05:45:08 UTC',
'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-oauth-scopes': 'repo',
'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': '5C97:3E30CE:5A6BDAE:B091DDD:6729D477',
'x-oauth-scopes': 'repo, user, workflow',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4980',
'x-ratelimit-reset': '1730796515',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '20',
'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#create-a-release',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/releases',
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: '{"target_commitish":"refs/pull/1720/merge","name":"v0.2.5","tag_name":"v0.2.5","body":"## 🚀 新功能\\n\\n- ✨ 添加用户消息撤回命令 @HibiKier (#1719)\\n- ✨ 指定bot的功能管理 @HibiKier (#1706)\\n\\n## 📝 文档更新\\n\\n- ✨ 添加用户消息撤回命令 @HibiKier (#1719)\\n\\n## 💫 杂项\\n\\n- :tada: chore(version): 自动更新版本到 v0.2.4-6359ba6 @AkashiCoin (#1692)\\n- 🐞 fix: 更新货物未找到异常的信息处理方式 @meng-luo (#1713)\\n- 🎈 perf(image\\\\_utils): 在image\\\\_utils中禁用代理下载 @meng-luo (#1710)","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '11680103113',
name: 'pull_request',
payload: {
action: 'opened',
number: 1720,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1720/comments'
},
commits: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1720/commits'
},
html: { href: 'https://github.com/HibiKier/zhenxun_bot/pull/1720' },
issue: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1720'
},
review_comment: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1720/comments'
},
self: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1720'
},
statuses: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/statuses/7ca4c18e1c93075751d5af7d538b97f67bfb42d3'
}
},
active_lock_reaso
|
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: '11680103113',
name: 'pull_request',
payload: {
action: 'opened',
number: 1720,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1720/comments'
},
commits: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1720/commits'
},
html: { href: 'https://github.com/HibiKier/zhenxun_bot/pull/1720' },
issue: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/issues/1720'
},
review_comment: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1720/comments'
},
self: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/pulls/1720'
},
statuses: {
href: 'https://api.github.com/repos/HibiKier/zhenxun_bot/statuses/7ca4c18e1c93075751d5af7d538b97f67bfb42d3'
}
},
active_lock_reason: null,
additions: 188,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'HibiKier:main',
ref: 'main',
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/HibiKier/zhenxun_bot/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/assignees{/user}',
blobs_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/branches{/branch}',
clone_url: 'https://github.com/HibiKier/zhenxun_bot.git',
collaborators_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/comments{/number}',
commits_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/commits{/sha}',
compare_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/contents/{+path}',
contributors_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/contributors',
created_at: '2021-05-16T23:49:20Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/deployments',
description: '基于 Nonebot2 开发,非常可爱的绪山真寻bot',
disabled: false,
downloads_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/downloads',
events_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/events',
fork: false,
forks: 605,
forks_count: 605,
forks_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/forks',
full_name: 'HibiKier/zhenxun_bot',
git_commits_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/HibiKier/zhenxun_bot/git/
|