[websocket] use background tasks instead of cleanup function #318
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11299464818',
status: 422,
response: {
url: 'https://api.github.com/repos/replit/river-python/releases',
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: 'Fri, 11 Oct 2024 21:23:14 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; contents=write,workflows=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': '200E:26C390:9C0ABA:12965E0:67099742',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14990',
'x-ratelimit-reset': '1728685391',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '10',
'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#create-a-release',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/replit/river-python/releases',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"target_commitish":"refs/pull/100/merge","name":"v0.6.9","tag_name":"v0.6.9","body":"## Changes\\n\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '11299464818',
name: 'pull_request',
payload: {
action: 'opened',
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: '2024-02-16T01:21:11Z',
website_url: null
},
number: 100,
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-python/issues/100/comments'
},
commits: {
href: 'https://api.github.com/repos/replit/river-python/pulls/100/commits'
},
|
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: '11299464818',
name: 'pull_request',
payload: {
action: 'opened',
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: '2024-02-16T01:21:11Z',
website_url: null
},
number: 100,
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-python/issues/100/comments'
},
commits: {
href: 'https://api.github.com/repos/replit/river-python/pulls/100/commits'
},
html: { href: 'https://github.com/replit/river-python/pull/100' },
issue: {
href: 'https://api.github.com/repos/replit/river-python/issues/100'
},
review_comment: {
href: 'https://api.github.com/repos/replit/river-python/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/replit/river-python/pulls/100/comments'
},
self: {
href: 'https://api.github.com/repos/replit/river-python/pulls/100'
},
statuses: {
href: 'https://api.github.com/repos/replit/river-python/statuses/fa07599f9a9f739c6f12ff7746674700f72e5736'
}
},
active_lock_reason: null,
additions: 16,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
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-python/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/replit/river-python/assignees{/user}',
blobs_url: 'https://api.github.com/repos/replit/river-python/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/replit/river-python/branches{/branch}',
clone_url: 'https://github.com/replit/river-python.git',
collaborators_url: 'https://api.github.com/repos/replit/river-python/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/replit/river-python/comments{/number}',
commits_url: 'https://api.github.com/repos/replit/river-python/commits{/sha}',
compare_url: 'https://api.github.com/repos/replit/river-python/compare/{base}...{head}',
contents_url: '
|
update_release_draft
The following actions use a deprecated Node.js version and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|