Finetune config_flow #104
release-drafter.yml
on: pull_request
update_release_draft
6s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '6213473746',
status: 422,
response: {
url: 'https://api.github.com/repos/astrandb/weatherlink/releases/115906421',
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: 'Sun, 17 Sep 2023 12:13:09 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': '5046:6E6A:1B4E93E:3816FD7:6506ED55',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '995',
'x-ratelimit-reset': '1694956388',
'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'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/astrandb/weatherlink/releases/115906421',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.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/astrandb/weatherlink/v0.0.17/total.svg)](https://github.com/astrandb/weatherlink/releases/v0.0.17)\\n\\n## Changes\\n\\n- Bump actions/checkout from 3.5.3 to 4.0.0 @dependabot (#37)\\n- Bump pre-commit from 3.3.3 to 3.4.0 @dependabot (#36)\\n- Bump ruff from 0.0.285 to 0.0.287 @dependabot (#35)\\n- Update .ruff.toml @astrandb (#32)\\n- Bump ruff from 0.0.278 to 0.0.285 @dependabot (#31)\\n- Bump actions/checkout from 3.3.0 to 3.5.3 @dependabot (#29)\\n- Bump svenstaro/upload-release-action from 1.pre.release to 2.7.0 @dependabot (#28)\\n- Bump actions/setup-python from 2 to 4 @dependabot (#27)\\n\\n## New Features\\n\\n- ApiV2 - and many improvements @astrandb (#38)\\n\\n## Maintenance\\n\\n- Dev container @astrandb (#26)\\n","draft":true,"prerelease":false,"name":"Example title - v0.0.17","tag_name":"v0.0.17","target_commitish":"refs/pull/40/merge"}',
request: {}
},
event: {
id: '6213473746',
name: 'pull_request',
payload: {
action: 'opened',
number: 40,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/astrandb/weatherlink/issues/40/comments'
},
commits: {
href: 'https://api.github.com/repos/astrandb/weatherlink/pulls/40/commits'
},
html: { href: 'https://github.com/astrandb/weatherlink/pull/40' },
issue: {
href: 'https://api.github.com/repos/astrandb/weatherlink/issues/40'
},
review_comment: {
href: 'https://api.github.com/repos/astrandb/weatherlink/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/astrandb/weatherlink/p
|
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 processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '6213473746',
name: 'pull_request',
payload: {
action: 'opened',
number: 40,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/astrandb/weatherlink/issues/40/comments'
},
commits: {
href: 'https://api.github.com/repos/astrandb/weatherlink/pulls/40/commits'
},
html: { href: 'https://github.com/astrandb/weatherlink/pull/40' },
issue: {
href: 'https://api.github.com/repos/astrandb/weatherlink/issues/40'
},
review_comment: {
href: 'https://api.github.com/repos/astrandb/weatherlink/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/astrandb/weatherlink/pulls/40/comments'
},
self: {
href: 'https://api.github.com/repos/astrandb/weatherlink/pulls/40'
},
statuses: {
href: 'https://api.github.com/repos/astrandb/weatherlink/statuses/567a2f312f56cc89098eb770252f1b3d60982152'
}
},
active_lock_reason: null,
additions: 11,
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 Homeassistant',
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: 0,
forks_count: 0,
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}',
g
|