Skip to content

feat: allow string enums for errors #159

feat: allow string enums for errors

feat: allow string enums for errors #159

Triggered via pull request October 20, 2025 00:18
Status Success
Total duration 15s
Artifacts

release-drafter.yml

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

Annotations

2 errors
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: '18638230907', name: 'pull_request', payload: { action: 'synchronize', after: 'a8fa52f72cc492ea89433160b39525a392f16436', before: '9be223a58d066c5d1518a7a31ee7d58e17846354', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/125249?v=4', created_at: '2024-02-16T01:02:54Z', description: null, html_url: 'https://github.com/enterprises/replit', id: 125249, name: 'Replit', node_id: 'E_kgDOAAHpQQ', slug: 'replit', updated_at: '2025-10-15T20:40:27Z', website_url: null }, number: 345, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/983194?v=4', description: 'Instantly code and collaborate from anywhere', events_url: 'https://api.github.com/orgs/replit/events', hooks_url: 'https://api.github.com/orgs/replit/hooks', id: 983194, issues_url: 'https://api.github.com/orgs/replit/issues', login: 'replit', members_url: 'https://api.github.com/orgs/replit/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjk4MzE5NA==', public_members_url: 'https://api.github.com/orgs/replit/public_members{/member}', repos_url: 'https://api.github.com/orgs/replit/repos', url: 'https://api.github.com/orgs/replit' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/replit/river/issues/345/comments' }, commits: { href: 'https://api.github.com/repos/replit/river/pulls/345/commits' }, html: { href: 'https://github.com/replit/river/pull/345' }, issue: { href: 'https://api.github.com/repos/replit/river/issues/345' }, review_comment: { href: 'https://api.github.com/repos/replit/river/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/replit/river/pulls/345/comments' }, self: { href: 'https://api.github.com/repos/replit/river/pulls/345' }, statuses: { href: 'https://api.github.com/repos/replit/river/statuses/a8fa52f72cc492ea89433160b39525a392f16436' } }, active_lock_reason: null, additions: 65, assignee: null, assignees: [], author_association: 'NONE', auto_merge: null, base: { label: 'replit:main', ref: 'main', repo: { allow_auto_merge: true, allow_forking: true, allow_merge_commit: false, allow_rebase_merge: false, allow_squash_merge: true, allow_update_branch: true, archive_url: 'https://api.github.com/repos/replit/river/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/replit/river/assignees{/user}', blobs_url: 'https://api.github.com/repos/replit/river/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/replit/river/branches{/branch}', clone_url: 'https://github.com/replit/river.git', collaborators_url: 'https://api.github.com/repos/replit/river/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/replit/river/comments{/number}', commits_url: 'https://api.github.com/repos/replit/river/commits{/sha}', compare_url: 'https://api.github.com/repos/replit/river/compare/{base}...{head}', contents_url: 'https:
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '18638230907', status: 422, response: { url: 'https://api.github.com/repos/replit/river/releases/255637056', 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: 'Mon, 20 Oct 2025 00:18:16 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': '382E:2EAC53:801489E:2310F231:68F57FC7', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14963', 'x-ratelimit-reset': '1760922759', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '37', '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/replit/river/releases/255637056', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.19.4 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"body":"## Changes\\n\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.209.9","tag_name":"v0.209.9","target_commitish":"refs/pull/345/merge"}', request: {} }, event: { id: '18638230907', name: 'pull_request', payload: { action: 'synchronize', after: 'a8fa52f72cc492ea89433160b39525a392f16436', before: '9be223a58d066c5d1518a7a31ee7d58e17846354', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/125249?v=4', created_at: '2024-02-16T01:02:54Z', description: null, html_url: 'https://github.com/enterprises/replit', id: 125249, name: 'Replit', node_id: 'E_kgDOAAHpQQ', slug: 'replit', updated_at: '2025-10-15T20:40:27Z', website_url: null }, number: 345, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/983194?v=4', description: 'Instantly code and collaborate from anywhere', events_url: 'https://api.github.com/orgs/replit/events', hooks_url: 'https://api.github.com/orgs/replit/hooks', id: 983194, issues_url: 'https://api.github.com/orgs/replit/issues', login: 'replit', members_url: 'https://api.github.com/orgs/replit/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjk4MzE5NA==', public_members_url: 'https://api.github.com/orgs/replit/public_members{/member}', repos_url: 'https://api.github.com/orgs/replit/repos', url: 'https://api.github.com/orgs/replit' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/replit/river/issues/345/comments' }, commits: { h