Skip to content

Workaround for Cover Art Archive API returning HTML instead of JSON #739

Workaround for Cover Art Archive API returning HTML instead of JSON

Workaround for Cover Art Archive API returning HTML instead of JSON #739

Triggered via pull request February 14, 2025 17:11
Status Success
Total duration 11s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
3s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 4 warnings
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '13333991604', status: 422, response: { url: 'https://api.github.com/repos/Borewit/musicbrainz-api/releases/83902253', 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: 'Fri, 14 Feb 2025 17:11:18 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': '07C1:345AF4:3EB6A7:7DFF54:67AF7936', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4992', 'x-ratelimit-reset': '1739555642', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '8', '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/Borewit/musicbrainz-api/releases/83902253', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.18.0 (linux; x64)', 'x-github-delivery': '13333991604', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## Changes\\n\\n* No changes\\n\\n## NPM release\\nNPM release: [musicbrainz-api@0.20.1](https://www.npmjs.com/package/musicbrainz-api/v/0.20.1)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.20.1","tag_name":"v0.20.1","target_commitish":"refs/pull/1028/merge"}', request: {} }, event: { id: '13333991604', name: 'pull_request', payload: { action: 'opened', number: 1028, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/issues/1028/comments' }, commits: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/pulls/1028/commits' }, html: { href: 'https://github.com/Borewit/musicbrainz-api/pull/1028' }, issue: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/issues/1028' }, review_comment: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/pulls/1028/comments' }, self: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/pulls/1028' }, statuses: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/statuses/31233c1363f88b9b325e3773c4de02d31ca1bb7e' } }, active_lock_reason: null, additions: 8, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/4527106?v=4', events_url: 'https://api.github.com/users/Haschikeks/events{/privacy}',
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:61885:18) { name: 'AggregateError', event: { id: '13333991604', name: 'pull_request', payload: { action: 'opened', number: 1028, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/issues/1028/comments' }, commits: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/pulls/1028/commits' }, html: { href: 'https://github.com/Borewit/musicbrainz-api/pull/1028' }, issue: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/issues/1028' }, review_comment: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/pulls/1028/comments' }, self: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/pulls/1028' }, statuses: { href: 'https://api.github.com/repos/Borewit/musicbrainz-api/statuses/31233c1363f88b9b325e3773c4de02d31ca1bb7e' } }, active_lock_reason: null, additions: 8, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/4527106?v=4', events_url: 'https://api.github.com/users/Haschikeks/events{/privacy}', followers_url: 'https://api.github.com/users/Haschikeks/followers', following_url: 'https://api.github.com/users/Haschikeks/following{/other_user}', gists_url: 'https://api.github.com/users/Haschikeks/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/Haschikeks', id: 4527106, login: 'Haschikeks', node_id: 'MDQ6VXNlcjQ1MjcxMDY=', organizations_url: 'https://api.github.com/users/Haschikeks/orgs', received_events_url: 'https://api.github.com/users/Haschikeks/received_events', repos_url: 'https://api.github.com/users/Haschikeks/repos', site_admin: false, starred_url: 'https://api.github.com/users/Haschikeks/starred{/owner}{/repo}', subscriptions_url: 'https://api.github.com/users/Haschikeks/subscriptions', type: 'User', url: 'https://api.github.com/users/Haschikeks', user_view_type: 'public' }, assignees: [ { avatar_url: 'https://avatars.githubusercontent.com/u/4527106?v=4', events_url: 'https://api.github.com/users/Haschikeks/events{/privacy}', followers_url: 'https://api.github.com/users/Haschikeks/followers', following_url: 'https://api.github.com/users/Haschikeks/following{/other_user}', gists_url: 'https://api.github.com/users/Haschikeks/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/Haschikeks', id: 4527106, login: 'Haschikeks', node_id: 'MDQ6VXNlcjQ1MjcxMDY=', organizations_url: 'https://api.github.com/users/Haschikeks/orgs', received_events_url: 'https://api.github.com/users/Haschikeks/received_events', repos_url: 'https://api.github.com/users/Haschikeks/repos', site_admin: false, starred_url: 'https://api.github.com/users/Haschikeks/starred{/owner}{/repo}', subscriptions_url: 'https://api.github.com/users/Haschikeks/subscriptions', type: 'User', url: 'https://api.github.com/users/Haschikeks', user_view_type: 'public' } ], author
update_release_draft
"pull_request_target.opened" 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.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
update_release_draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)