Avoid close()
cancels the underlying Web stream
#338
release-drafter.yml
on: pull_request
update_release_draft
5s
Annotations
2 errors and 4 warnings
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '13163803650',
status: 422,
response: {
url: 'https://api.github.com/repos/Borewit/peek-readable/releases/85660953',
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: 'Wed, 05 Feb 2025 18:10:51 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': '7001:2032F3:A46632:1491456:67A3A9AA',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1738782649',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'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/peek-readable/releases/85660953',
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': '13163803650',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n\\n\\n## 📦 NPM release\\nNPM release: [[email protected]](https://www.npmjs.com/package/peek-readable/v/6.1.1)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v6.1.1","tag_name":"v6.1.1","target_commitish":"refs/pull/800/merge"}',
request: {}
},
event: {
id: '13163803650',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '9e67b0472cb0a85e8b74c51f9835d2b86f8fea04',
before: '516d0a3142e36709ca5392c8758f71c6f3f77e38',
number: 800,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Borewit/peek-readable/issues/800/comments'
},
commits: {
href: 'https://api.github.com/repos/Borewit/peek-readable/pulls/800/commits'
},
html: { href: 'https://github.com/Borewit/peek-readable/pull/800' },
issue: {
href: 'https://api.github.com/repos/Borewit/peek-readable/issues/800'
},
review_comment: {
href: 'https://api.github.com/repos/Borewit/peek-readable/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Borewit/peek-readable/pulls/800/comments'
},
self: {
href: 'https://api.github.com/repos/Borewit/peek-readable/pulls/800'
},
statuses: {
href: 'https://api.github.com/repos/Borewit/peek-readable/statuses/9e67b0472cb0a85e8b74c51f9835d2b86f8fea04'
}
},
active_lock_reason: null,
additions: 49,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/23255260?v=4',
events_url: 'https://ap
|
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: '13163803650',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '9e67b0472cb0a85e8b74c51f9835d2b86f8fea04',
before: '516d0a3142e36709ca5392c8758f71c6f3f77e38',
number: 800,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Borewit/peek-readable/issues/800/comments'
},
commits: {
href: 'https://api.github.com/repos/Borewit/peek-readable/pulls/800/commits'
},
html: { href: 'https://github.com/Borewit/peek-readable/pull/800' },
issue: {
href: 'https://api.github.com/repos/Borewit/peek-readable/issues/800'
},
review_comment: {
href: 'https://api.github.com/repos/Borewit/peek-readable/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Borewit/peek-readable/pulls/800/comments'
},
self: {
href: 'https://api.github.com/repos/Borewit/peek-readable/pulls/800'
},
statuses: {
href: 'https://api.github.com/repos/Borewit/peek-readable/statuses/9e67b0472cb0a85e8b74c51f9835d2b86f8fea04'
}
},
active_lock_reason: null,
additions: 49,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/23255260?v=4',
events_url: 'https://api.github.com/users/Borewit/events{/privacy}',
followers_url: 'https://api.github.com/users/Borewit/followers',
following_url: 'https://api.github.com/users/Borewit/following{/other_user}',
gists_url: 'https://api.github.com/users/Borewit/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/Borewit',
id: 23255260,
login: 'Borewit',
node_id: 'MDQ6VXNlcjIzMjU1MjYw',
organizations_url: 'https://api.github.com/users/Borewit/orgs',
received_events_url: 'https://api.github.com/users/Borewit/received_events',
repos_url: 'https://api.github.com/users/Borewit/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/Borewit/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/Borewit/subscriptions',
type: 'User',
url: 'https://api.github.com/users/Borewit',
user_view_type: 'public'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/23255260?v=4',
events_url: 'https://api.github.com/users/Borewit/events{/privacy}',
followers_url: 'https://api.github.com/users/Borewit/followers',
following_url: 'https://api.github.com/users/Borewit/following{/other_user}',
gists_url: 'https://api.github.com/users/Borewit/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/Borewit',
id: 23255260,
login: 'Borewit',
node_id: 'MDQ6VXNlcjIzMjU1MjYw',
organizations_url: 'https://api.github.com/users/Borewit/orgs',
received_events_url: 'https://api.github.com/users/Borewit/received_events',
repos_url: 'https://api.github.com/users/Borewit/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/Borewit/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/Borewit/subscriptions',
type: 'User',
url: 'https://api.github.com/users/Borewit',
user_view_type: 'public'
}
],
|
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/)
|