fix(browsing): return full information about artist/album/song instea… #38
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8680978272',
status: 422,
response: {
url: 'https://api.github.com/repos/vnghia/nghe/releases/151046401',
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, 14 Apr 2024 20:13:04 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': '5476:25E7:3473E2C:521B73A:661C38D0',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4988',
'x-ratelimit-reset': '1713127069',
'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/vnghia/nghe/releases/151046401',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## What’s Changed\\n\\n* fix(browsing): fix get top songs return emtpy (#92) @vnghia\\n* ci: only cache from main [skip ci] (#91) @vnghia\\n* feat(browsing): add full text search for search3 (#90) @vnghia\\n* ci: fix coverage ci (#89) @vnghia\\n* test(types): add tests for types (#88) @vnghia\\n* ci: add cargo cache (#87) @vnghia\\n* refactor(proc-macros): split proc-macros into multiple files (#86) @vnghia\\n* feat(proc-macros): add macros for converting from public types to int… (#85) @vnghia\\n* chore: upgrade cargo version (#84) @vnghia\\n* chore(deps): update rust crate time to 0.3.36 (#76) @renovate\\n* fix(deps): update rust crate async-trait to 0.1.80 (#77) @renovate\\n","draft":true,"prerelease":false,"make_latest":"true","tag_name":"untagged-47c0b62fa7b1ea1f11d8","target_commitish":"refs/pull/93/merge"}',
request: {}
},
event: {
id: '8680978272',
name: 'pull_request',
payload: {
action: 'opened',
number: 93,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/vnghia/nghe/issues/93/comments'
},
commits: {
href: 'https://api.github.com/repos/vnghia/nghe/pulls/93/commits'
},
html: { href: 'https://github.com/vnghia/nghe/pull/93' },
issue: {
href: 'https://api.github.com/repos/vnghia/nghe/issues/93'
},
review_comment: {
href: 'https://api.github.com/repos/vnghia/nghe/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/vnghia/nghe/pulls/93/comments'
},
self: { href: 'https://api.github.com/repos/vnghia/nghe/pulls/93' },
statuses: {
href: 'https://api.github.com/repos/
|
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: '8680978272',
name: 'pull_request',
payload: {
action: 'opened',
number: 93,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/vnghia/nghe/issues/93/comments'
},
commits: {
href: 'https://api.github.com/repos/vnghia/nghe/pulls/93/commits'
},
html: { href: 'https://github.com/vnghia/nghe/pull/93' },
issue: {
href: 'https://api.github.com/repos/vnghia/nghe/issues/93'
},
review_comment: {
href: 'https://api.github.com/repos/vnghia/nghe/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/vnghia/nghe/pulls/93/comments'
},
self: { href: 'https://api.github.com/repos/vnghia/nghe/pulls/93' },
statuses: {
href: 'https://api.github.com/repos/vnghia/nghe/statuses/fc964ff8ed11e73a4bca3815067db2681eabd04e'
}
},
active_lock_reason: null,
additions: 34,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'vnghia:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/vnghia/nghe/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/vnghia/nghe/assignees{/user}',
blobs_url: 'https://api.github.com/repos/vnghia/nghe/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/vnghia/nghe/branches{/branch}',
clone_url: 'https://github.com/vnghia/nghe.git',
collaborators_url: 'https://api.github.com/repos/vnghia/nghe/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/vnghia/nghe/comments{/number}',
commits_url: 'https://api.github.com/repos/vnghia/nghe/commits{/sha}',
compare_url: 'https://api.github.com/repos/vnghia/nghe/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/vnghia/nghe/contents/{+path}',
contributors_url: 'https://api.github.com/repos/vnghia/nghe/contributors',
created_at: '2024-01-05T07:54:17Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/vnghia/nghe/deployments',
description: 'An OpenSubsonic implementation in Rust',
disabled: false,
downloads_url: 'https://api.github.com/repos/vnghia/nghe/downloads',
events_url: 'https://api.github.com/repos/vnghia/nghe/events',
fork: false,
forks: 0,
forks_count: 0,
forks_url: 'https://api.github.com/repos/vnghia/nghe/forks',
full_name: 'vnghia/nghe',
git_commits_url: 'https://api.github.com/repos/vnghia/nghe/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/vnghia/nghe/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/vnghia/nghe/git/tags{/sha}',
git_url: 'git://github.com/vnghia/nghe.git',
has_discussions: false,
has_downloads: true,
has_issues: true,
has_pages: false,
has_projects: true,
has_wiki: false,
h
|