ci: generate full release #101
release-drafter.yaml
on: pull_request
update_release_draft
4s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12448863401',
status: 422,
response: {
url: 'https://api.github.com/repos/duhow/xiaoai-patch/releases/191556979',
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: 'Sat, 21 Dec 2024 22:15:52 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': '2006:6E176:820D201:1039D96D:67673E18',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4985',
'x-ratelimit-reset': '1734822015',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '15',
'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/duhow/xiaoai-patch/releases/191556979',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changelog\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true","name":"Xiao Ai Patched v2024.12.19","tag_name":"2024.12.19","target_commitish":"refs/pull/95/merge"}',
request: {}
},
event: {
id: '12448863401',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '4d5d997d809c9819d45d06ba75f695a177d4c099',
before: '6ed8c0998002f86e5bab968d45d109e8e3bd15c3',
number: 95,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/issues/95/comments'
},
commits: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/pulls/95/commits'
},
html: { href: 'https://github.com/duhow/xiaoai-patch/pull/95' },
issue: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/issues/95'
},
review_comment: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/pulls/95/comments'
},
self: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/pulls/95'
},
statuses: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/statuses/4d5d997d809c9819d45d06ba75f695a177d4c099'
}
},
active_lock_reason: null,
additions: 41,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'duhow:master',
ref: 'master',
repo: {
allow_auto_merge: true,
allow_f
|
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 process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '12448863401',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '4d5d997d809c9819d45d06ba75f695a177d4c099',
before: '6ed8c0998002f86e5bab968d45d109e8e3bd15c3',
number: 95,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/issues/95/comments'
},
commits: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/pulls/95/commits'
},
html: { href: 'https://github.com/duhow/xiaoai-patch/pull/95' },
issue: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/issues/95'
},
review_comment: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/pulls/95/comments'
},
self: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/pulls/95'
},
statuses: {
href: 'https://api.github.com/repos/duhow/xiaoai-patch/statuses/4d5d997d809c9819d45d06ba75f695a177d4c099'
}
},
active_lock_reason: null,
additions: 41,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'duhow: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: false,
archive_url: 'https://api.github.com/repos/duhow/xiaoai-patch/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/duhow/xiaoai-patch/assignees{/user}',
blobs_url: 'https://api.github.com/repos/duhow/xiaoai-patch/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/duhow/xiaoai-patch/branches{/branch}',
clone_url: 'https://github.com/duhow/xiaoai-patch.git',
collaborators_url: 'https://api.github.com/repos/duhow/xiaoai-patch/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/duhow/xiaoai-patch/comments{/number}',
commits_url: 'https://api.github.com/repos/duhow/xiaoai-patch/commits{/sha}',
compare_url: 'https://api.github.com/repos/duhow/xiaoai-patch/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/duhow/xiaoai-patch/contents/{+path}',
contributors_url: 'https://api.github.com/repos/duhow/xiaoai-patch/contributors',
created_at: '2020-12-13T16:21:40Z',
default_branch: 'master',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/duhow/xiaoai-patch/deployments',
description: 'Patching for XiaoAi Speakers (小爱音箱), add custom binaries and open source software. Tested on LX06, LX01, LX05, L09A',
disabled: false,
downloads_url: 'https://api.github.com/repos/duhow/xiaoai-patch/downloads',
events_url: 'https://api.github.com/repos/duhow/xiaoai-patch/events',
fork: false,
forks: 30,
forks_count: 30,
forks_url: 'https://api.github.com/repos/duhow/xiaoai-patch/forks',
full_name: 'duhow/xiaoai-patch',
git_commits_url: 'https://api.github.com/repos/duhow/xiaoai-patch/git/commits{/sha}',
git_refs_url: 'http
|
update_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|