Use list comprehensions when creating entities #323
release-drafter.yml
on: pull_request
update_release_draft
5s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8340801990',
status: 422,
response: {
url: 'https://api.github.com/repos/astrandb/weatherlink/releases/139022826',
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': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 19 Mar 2024 09:43:44 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': '0846:8355:1440E01:2562F6F:65F95E50',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4981',
'x-ratelimit-reset': '1710844905',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '19',
'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'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/astrandb/weatherlink/releases/139022826',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"[![Downloads for this release](https://img.shields.io/github/downloads-pre/astrandb/weatherlink/v2024.1.2/total.svg)](https://github.com/astrandb/weatherlink/releases/v2024.1.2)\\n\\n<!--\\n### Checklist for release\\n- Download translations PR from Lokalize\\n- Run ruff linter\\n- Run make bump - select proper variank in Makefile\\n- Review the draft below\\n- Remove this checklist\\n-->\\n\\n## Notable Changes\\n\\n## Dependencies\\n\\n<details>\\n<summary>8 changes</summary>\\n\\n- Update pip requirement from \\\\<23.3,>=21.0 to >=21.0,\\\\<24.1 @dependabot (#132)\\n- Bump actions/checkout from 4.1.1 to 4.1.2 @dependabot (#143)\\n- Bump ruff from 0.1.14 to 0.3.3 @dependabot (#142)\\n- Bump svenstaro/upload-release-action from 2.7.0 to 2.9.0 @dependabot (#138)\\n- Bump pre-commit from 3.6.0 to 3.6.2 @dependabot (#135)\\n- Bump release-drafter/release-drafter from 5 to 6 @dependabot (#130)\\n- Bump ruff from 0.1.13 to 0.1.14 @dependabot (#127)\\n- Bump colorlog from 6.8.0 to 6.8.2 @dependabot (#128)\\n</details>\\n\\n## Code quality and optimizations\\n\\n- Adjust pylint rules @astrandb (#129)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"Example title - v2024.1.2","tag_name":"v2024.1.2","target_commitish":"refs/pull/144/merge"}',
request: {}
},
event: {
id: '8340801990',
name: 'pull_request',
payload: {
action: 'opened',
number: 144,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/astrandb/weatherlink/issues/144/comments'
},
commits: {
href: 'https://api.github.com/repos/astrandb/weatherlink/pulls/144/commits'
},
html: { href: 'https://github.com/astrandb/weatherlink/pull/144' },
|
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:8462: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:30793:18)
{
name: 'AggregateError',
event: {
id: '8340801990',
name: 'pull_request',
payload: {
action: 'opened',
number: 144,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/astrandb/weatherlink/issues/144/comments'
},
commits: {
href: 'https://api.github.com/repos/astrandb/weatherlink/pulls/144/commits'
},
html: { href: 'https://github.com/astrandb/weatherlink/pull/144' },
issue: {
href: 'https://api.github.com/repos/astrandb/weatherlink/issues/144'
},
review_comment: {
href: 'https://api.github.com/repos/astrandb/weatherlink/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/astrandb/weatherlink/pulls/144/comments'
},
self: {
href: 'https://api.github.com/repos/astrandb/weatherlink/pulls/144'
},
statuses: {
href: 'https://api.github.com/repos/astrandb/weatherlink/statuses/41084225021fb3b4999c84d45a300acd7b015f1b'
}
},
active_lock_reason: null,
additions: 54,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'astrandb:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/astrandb/weatherlink/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/astrandb/weatherlink/assignees{/user}',
blobs_url: 'https://api.github.com/repos/astrandb/weatherlink/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/astrandb/weatherlink/branches{/branch}',
clone_url: 'https://github.com/astrandb/weatherlink.git',
collaborators_url: 'https://api.github.com/repos/astrandb/weatherlink/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/astrandb/weatherlink/comments{/number}',
commits_url: 'https://api.github.com/repos/astrandb/weatherlink/commits{/sha}',
compare_url: 'https://api.github.com/repos/astrandb/weatherlink/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/astrandb/weatherlink/contents/{+path}',
contributors_url: 'https://api.github.com/repos/astrandb/weatherlink/contributors',
created_at: '2021-12-10T07:57:06Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/astrandb/weatherlink/deployments',
description: 'Weatherlink for Home Assistant',
disabled: false,
downloads_url: 'https://api.github.com/repos/astrandb/weatherlink/downloads',
events_url: 'https://api.github.com/repos/astrandb/weatherlink/events',
fork: false,
forks: 1,
forks_count: 1,
forks_url: 'https://api.github.com/repos/astrandb/weatherlink/forks',
full_name: 'astrandb/weatherlink',
git_commits_url: 'https://api.github.com/repos/astrandb/weatherlink/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/astrandb/weatherlink/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/astrandb/weatherlink/git/tags{/sha}
|