feat(user): 添加用户插件 #643
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: '6173083035',
status: 422,
response: {
url: 'https://api.github.com/repos/he0119/CoolQBot/releases/114077565',
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, 13 Sep 2023 13:21:28 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': '3807:5EFA:492CE4:945132:6501B758',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '988',
'x-ratelimit-reset': '1694614728',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '12',
'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/CoolQBot/releases/114077565',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"- chore(deps): bump the actions-update group with 1 update @dependabot (#377)\\n- chore(deps): bump the production-dependencies group with 3 updates @dependabot (#375)\\n- chore(deps): bump the actions-update group with 1 update @dependabot (#374)\\n- chore: auto update by pre-commit hooks @pre-commit-ci (#368)\\n- style: 使用 ruff 格式化代码 @he0119 (#370)\\n- chore: auto update by pre-commit hooks @pre-commit-ci (#365)\\n- chore: auto update by pre-commit hooks @pre-commit-ci (#364)\\n- chore(deps): bump appleboy/ssh-action from 0.1.10 to 1.0.0 @dependabot (#363)\\n\\n## Fixed\\n\\n- fix: 修复和风天气无法找到城市时报错的问题 @he0119 (#367)\\n","draft":true,"prerelease":false,"name":"v0.16.1","tag_name":"v0.16.1","target_commitish":"refs/pull/381/merge"}',
request: {}
},
event: {
id: '6173083035',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '5bf4d35048df413b68667d58143a9fce09fccf50',
before: '16b427226af22142995cce6ba56c374b5c60dead',
number: 381,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/he0119/CoolQBot/issues/381/comments'
},
commits: {
href: 'https://api.github.com/repos/he0119/CoolQBot/pulls/381/commits'
},
html: { href: 'https://github.com/he0119/CoolQBot/pull/381' },
issue: {
href: 'https://api.github.com/repos/he0119/CoolQBot/issues/381'
},
review_comment: {
href: 'https://api.github.com/repos/he0119/CoolQBot/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/he0119/CoolQBot/pulls/381/comments'
},
self: {
href: 'https://api.github.com/repos/he0119/Cool
|
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: '6173083035',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '5bf4d35048df413b68667d58143a9fce09fccf50',
before: '16b427226af22142995cce6ba56c374b5c60dead',
number: 381,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/he0119/CoolQBot/issues/381/comments'
},
commits: {
href: 'https://api.github.com/repos/he0119/CoolQBot/pulls/381/commits'
},
html: { href: 'https://github.com/he0119/CoolQBot/pull/381' },
issue: {
href: 'https://api.github.com/repos/he0119/CoolQBot/issues/381'
},
review_comment: {
href: 'https://api.github.com/repos/he0119/CoolQBot/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/he0119/CoolQBot/pulls/381/comments'
},
self: {
href: 'https://api.github.com/repos/he0119/CoolQBot/pulls/381'
},
statuses: {
href: 'https://api.github.com/repos/he0119/CoolQBot/statuses/5bf4d35048df413b68667d58143a9fce09fccf50'
}
},
active_lock_reason: null,
additions: 561,
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: true,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/he0119/CoolQBot/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/he0119/CoolQBot/assignees{/user}',
blobs_url: 'https://api.github.com/repos/he0119/CoolQBot/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/he0119/CoolQBot/branches{/branch}',
clone_url: 'https://github.com/he0119/CoolQBot.git',
collaborators_url: 'https://api.github.com/repos/he0119/CoolQBot/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/he0119/CoolQBot/comments{/number}',
commits_url: 'https://api.github.com/repos/he0119/CoolQBot/commits{/sha}',
compare_url: 'https://api.github.com/repos/he0119/CoolQBot/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/he0119/CoolQBot/contents/{+path}',
contributors_url: 'https://api.github.com/repos/he0119/CoolQBot/contributors',
created_at: '2018-08-12T23:09:19Z',
default_branch: 'master',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/he0119/CoolQBot/deployments',
description: '基于 NoneBot2 的聊天机器人',
disabled: false,
downloads_url: 'https://api.github.com/repos/he0119/CoolQBot/downloads',
events_url: 'https://api.github.com/repos/he0119/CoolQBot/events',
fork: false,
forks: 21,
forks_count: 21,
forks_url: 'https://api.github.com/repos/he0119/CoolQBot/forks',
full_name: 'he0119/CoolQBot',
git_commits_url: 'https://api.github.com/repos/he0119/CoolQBot/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/he0119/CoolQBot/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/he0119/CoolQBot/git/tags{/sha}',
git_url: 'git
|