Resolve pytest warnings #479
Annotations
2 errors
Run release-drafter/release-drafter@v5
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12075861505',
status: 422,
response: {
url: 'https://api.github.com/repos/replit/river-python/releases/187890025',
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: 'Thu, 28 Nov 2024 21:59:13 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': 'D4C6:1522FD:354CDD5:694F6A7:6748E7B1',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14982',
'x-ratelimit-reset': '1732834468',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '18',
'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-python/releases/187890025',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n## 🧰 Maintenance\\n\\n- [tests] handler decomposition @blast-hardcheese (#125)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.12.6","tag_name":"v0.12.6","target_commitish":"refs/pull/127/merge"}',
request: {}
},
event: {
id: '12075861505',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'c9bded23849dd17e28a7b19ee16c7f9919312170',
before: '7018fbb30785973cf3c5f5c9b7bef206d29062d6',
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: 127,
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/rep
|
Run release-drafter/release-drafter@v5
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: '12075861505',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'c9bded23849dd17e28a7b19ee16c7f9919312170',
before: '7018fbb30785973cf3c5f5c9b7bef206d29062d6',
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: 127,
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/127/comments'
},
commits: {
href: 'https://api.github.com/repos/replit/river-python/pulls/127/commits'
},
html: { href: 'https://github.com/replit/river-python/pull/127' },
issue: {
href: 'https://api.github.com/repos/replit/river-python/issues/127'
},
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/127/comments'
},
self: {
href: 'https://api.github.com/repos/replit/river-python/pulls/127'
},
statuses: {
href: 'https://api.github.com/repos/replit/river-python/statuses/c9bded23849dd17e28a7b19ee16c7f9919312170'
}
},
active_lock_reason: null,
additions: 82,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'replit:dstewart/improve-types',
ref: 'dstewart/improve-types',
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/r
|
Loading