refactor(actors): add type hints to public APIs and ambiguous return types #351
release_drafter.yml
on: pull_request
update_release_draft
6s
Annotations
2 errors and 4 warnings
|
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: '22473415557',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/1029?v=4',
created_at: '2019-10-15T21:28:08Z',
description: null,
html_url: 'https://github.com/enterprises/nextdoor',
id: 1029,
name: 'Nextdoor',
node_id: 'MDEwOkVudGVycHJpc2UxMDI5',
slug: 'nextdoor',
updated_at: '2025-08-12T20:58:50Z',
website_url: null
},
number: 670,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/605176?v=4',
description: 'Nextdoor is where you connect to the neighborhoods that matter to you so you can belong.',
events_url: 'https://api.github.com/orgs/Nextdoor/events',
hooks_url: 'https://api.github.com/orgs/Nextdoor/hooks',
id: 605176,
issues_url: 'https://api.github.com/orgs/Nextdoor/issues',
login: 'Nextdoor',
members_url: 'https://api.github.com/orgs/Nextdoor/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYwNTE3Ng==',
public_members_url: 'https://api.github.com/orgs/Nextdoor/public_members{/member}',
repos_url: 'https://api.github.com/orgs/Nextdoor/repos',
url: 'https://api.github.com/orgs/Nextdoor'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Nextdoor/kingpin/issues/670/comments'
},
commits: {
href: 'https://api.github.com/repos/Nextdoor/kingpin/pulls/670/commits'
},
html: { href: 'https://github.com/Nextdoor/kingpin/pull/670' },
issue: {
href: 'https://api.github.com/repos/Nextdoor/kingpin/issues/670'
},
review_comment: {
href: 'https://api.github.com/repos/Nextdoor/kingpin/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Nextdoor/kingpin/pulls/670/comments'
},
self: {
href: 'https://api.github.com/repos/Nextdoor/kingpin/pulls/670'
},
statuses: {
href: 'https://api.github.com/repos/Nextdoor/kingpin/statuses/ac6803acbd91ab1034e7948a8cebb0f762f28f55'
}
},
active_lock_reason: null,
additions: 218,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'Nextdoor: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: false,
archive_url: 'https://api.github.com/repos/Nextdoor/kingpin/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/Nextdoor/kingpin/assignees{/user}',
blobs_url: 'https://api.github.com/repos/Nextdoor/kingpin/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/Nextdoor/kingpin/branches{/branch}',
clone_url: 'https://github.com/Nextdoor/kingpin.git',
collaborators_url: 'https://api.github.com/repos/Nextdoor/kingpin/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/Nextdoor/kingpin/comments{/number}',
commits_url: 'https://api.github.com/repos/Nextdoor/kingpin/commits{/sha}',
compare_url: 'https://api.github.com/repos/Nextdoor/kingpin/compare/{base}...{head}',
|
|
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '22473415557',
status: 422,
response: {
url: 'https://api.github.com/repos/Nextdoor/kingpin/releases/291127351',
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, 27 Feb 2026 04:57: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': 'B402:BDAE8:16C27C9:633053D:69A1242B',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14996',
'x-ratelimit-reset': '1772171835',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '4',
'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/Nextdoor/kingpin/releases/291127351',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.19.6 (linux; x64)',
'x-github-delivery': '22473415557',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n- docs(docs): remove stale Tornado references from docs, tests, and examples @LaikaN57 (#669)\\n- refactor(actors): replace legacy test helpers with AsyncMock @LaikaN57 (#668)\\n- fix(actors): replace deprecated Draft4Validator with Draft202012Validator @LaikaN57 (#667)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v8.0.1","tag_name":"v8.0.1","target_commitish":"refs/pull/670/merge"}',
request: {}
},
event: {
id: '22473415557',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/1029?v=4',
created_at: '2019-10-15T21:28:08Z',
description: null,
html_url: 'https://github.com/enterprises/nextdoor',
id: 1029,
name: 'Nextdoor',
node_id: 'MDEwOkVudGVycHJpc2UxMDI5',
slug: 'nextdoor',
updated_at: '2025-08-12T20:58:50Z',
website_url: null
},
number: 670,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/605176?v=4',
description: 'Nextdoor is where you connect to the neighborhoods that matter to you so you can belong.',
events_url: 'https://api.github.com/orgs/Nextdoor/events',
hooks_url: 'https://api.github.com/orgs/Nextdoor/hooks',
id: 605176,
issues_url: 'https://api.github.com/orgs/Nextdoor/issues',
login: 'Nextdoor',
members_url: 'https://api.github.com/orgs/Nextdoor/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYwNTE3Ng==',
public_members_url: 'https://api.github.com/orgs/Nextdoor/public_members{/member}',
repos_url: 'https://api.github.com/orgs/Nextdoor/repos',
url: 'https://ap
|
|
update_release_draft
"pull_request_target.edited" 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.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
|
update_release_draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|