chore(style): fix lint for jinja template #1159
release-draft.yml
on: pull_request
Update Release Draft
6s
Annotations
2 errors and 5 warnings
|
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:7146: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:56365:18)
{
name: 'AggregateError',
event: {
id: '23193107440',
name: 'pull_request',
payload: {
action: 'opened',
number: 513,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/issues/513/comments'
},
commits: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/pulls/513/commits'
},
html: {
href: 'https://github.com/fllesser/nonebot-plugin-parser/pull/513'
},
issue: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/issues/513'
},
review_comment: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/pulls/513/comments'
},
self: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/pulls/513'
},
statuses: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/statuses/a77ecc6c0bae486479b7e504a7ac37a6b23ef362'
}
},
active_lock_reason: null,
additions: 615,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'fllesser: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/fllesser/nonebot-plugin-parser/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/assignees{/user}',
blobs_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/branches{/branch}',
clone_url: 'https://github.com/fllesser/nonebot-plugin-parser.git',
collaborators_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/comments{/number}',
commits_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/commits{/sha}',
compare_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/contents/{+path}',
contributors_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/contributors',
created_at: '2024-11-30T10:43:02Z',
default_branch: 'master',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/deployments',
description: '社交媒体分享链接解析插件',
disabled: false,
downloads_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/downloads',
events_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/events',
fork: false,
forks: 21,
forks_count: 21,
forks_url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/forks',
full_name: 'fllesser/nonebot-plugin-parser',
|
|
Update Release Draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '23193107440',
status: 422,
response: {
url: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/releases/297786700',
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',
'content-length': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 17 Mar 2026 11:59:42 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': '304A:324833:4686E0:12B4F52:69B9422D',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4993',
'x-ratelimit-reset': '1773752379',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '7',
'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/fllesser/nonebot-plugin-parser/releases/297786700',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.20.0 (linux; x64)',
'x-github-delivery': '23193107440',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## 🐛 Bug Fixes\\n\\n- feat(render): 合并转发中追加图文图片描述 @fllesser (#511)\\n\\n## 💫 Others\\n\\n- perf: 避免多层 PathTask 嵌套调用 @fllesser (#512)","draft":true,"prerelease":false,"make_latest":"true","name":"v2.5.3","tag_name":"v2.5.3","target_commitish":"refs/pull/513/merge"}',
request: {}
},
event: {
id: '23193107440',
name: 'pull_request',
payload: {
action: 'opened',
number: 513,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/issues/513/comments'
},
commits: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/pulls/513/commits'
},
html: {
href: 'https://github.com/fllesser/nonebot-plugin-parser/pull/513'
},
issue: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/issues/513'
},
review_comment: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/pulls/513/comments'
},
self: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/pulls/513'
},
statuses: {
href: 'https://api.github.com/repos/fllesser/nonebot-plugin-parser/statuses/a77ecc6c0bae486479b7e504a7ac37a6b23ef362'
}
},
active_lock_reason: null,
additions: 615,
assignee: null,
assignees: [],
author_association: 'OWNER',
|
|
Update Release Draft
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: release-drafter/release-drafter@v6. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Update Release Draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
Update Release Draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
Update Release Draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
Update Release Draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|