fix build error #8
Annotations
2 errors and 1 warning
Run release-drafter/release-drafter@v5
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '7686063778',
status: 422,
response: {
url: 'https://api.github.com/repos/danielk117/xiaoai-patch/releases/138744129',
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: 'Sun, 28 Jan 2024 13:21:37 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': '92C1:02BC:35DA890:6F00EB4:65B654E1',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '994',
'x-ratelimit-reset': '1706451688',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '6',
'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/danielk117/xiaoai-patch/releases/138744129',
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":"## Changelog\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true","name":"Xiao Ai Patched v0.1.0","tag_name":"0.1.0","target_commitish":"refs/pull/2/merge"}',
request: {}
},
event: {
id: '7686063778',
name: 'pull_request',
payload: {
action: 'opened',
number: 2,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/issues/2/comments'
},
commits: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/pulls/2/commits'
},
html: { href: 'https://github.com/danielk117/xiaoai-patch/pull/2' },
issue: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/issues/2'
},
review_comment: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/pulls/2/comments'
},
self: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/pulls/2'
},
statuses: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/statuses/092281565031aa010f30f928804e5707198b1d35'
}
},
active_lock_reason: null,
additions: 47,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'danielk117:master',
ref: 'master',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_s
|
Run release-drafter/release-drafter@v5
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: '7686063778',
name: 'pull_request',
payload: {
action: 'opened',
number: 2,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/issues/2/comments'
},
commits: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/pulls/2/commits'
},
html: { href: 'https://github.com/danielk117/xiaoai-patch/pull/2' },
issue: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/issues/2'
},
review_comment: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/pulls/2/comments'
},
self: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/pulls/2'
},
statuses: {
href: 'https://api.github.com/repos/danielk117/xiaoai-patch/statuses/092281565031aa010f30f928804e5707198b1d35'
}
},
active_lock_reason: null,
additions: 47,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'danielk117: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/danielk117/xiaoai-patch/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/danielk117/xiaoai-patch/assignees{/user}',
blobs_url: 'https://api.github.com/repos/danielk117/xiaoai-patch/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/danielk117/xiaoai-patch/branches{/branch}',
clone_url: 'https://github.com/danielk117/xiaoai-patch.git',
collaborators_url: 'https://api.github.com/repos/danielk117/xiaoai-patch/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/danielk117/xiaoai-patch/comments{/number}',
commits_url: 'https://api.github.com/repos/danielk117/xiaoai-patch/commits{/sha}',
compare_url: 'https://api.github.com/repos/danielk117/xiaoai-patch/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/danielk117/xiaoai-patch/contents/{+path}',
contributors_url: 'https://api.github.com/repos/danielk117/xiaoai-patch/contributors',
created_at: '2022-01-24T06:27:52Z',
default_branch: 'master',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/danielk117/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/danielk117/xiaoai-patch/downloads',
events_url: 'https://api.github.com/repos/danielk117/xiaoai-patch/events',
fork: true,
forks: 0,
forks_count: 0,
forks_url: 'https://api.github.com/repos/danielk117/xiaoai-patch/forks',
full_name: 'danielk117/xiaoai-patch',
git_commits_url: 'https://api.github.com/repos/danielk117/xiaoai-patch/git/commits{/sha}',
git_refs_url: 'https://api.github.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading