Finetune config_flow #105
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '6213493553',
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:16:36 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': '180E:3D80:25D87E:4E4923:6506EE24',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '976',
'x-ratelimit-reset': '1694956388',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '24',
'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: '6213493553',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '248e9d97138556cd92d05972b6b0b5728692c880',
before: '567a2f312f56cc89098eb770252f1b3d60982152',
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{/nu
|
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: '6213493553',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '248e9d97138556cd92d05972b6b0b5728692c880',
before: '567a2f312f56cc89098eb770252f1b3d60982152',
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/248e9d97138556cd92d05972b6b0b5728692c880'
}
},
active_lock_reason: null,
additions: 13,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/5016010?v=4',
events_url: 'https://api.github.com/users/astrandb/events{/privacy}',
followers_url: 'https://api.github.com/users/astrandb/followers',
following_url: 'https://api.github.com/users/astrandb/following{/other_user}',
gists_url: 'https://api.github.com/users/astrandb/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/astrandb',
id: 5016010,
login: 'astrandb',
node_id: 'MDQ6VXNlcjUwMTYwMTA=',
organizations_url: 'https://api.github.com/users/astrandb/orgs',
received_events_url: 'https://api.github.com/users/astrandb/received_events',
repos_url: 'https://api.github.com/users/astrandb/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/astrandb/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/astrandb/subscriptions',
type: 'User',
url: 'https://api.github.com/users/astrandb'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/5016010?v=4',
events_url: 'https://api.github.com/users/astrandb/events{/privacy}',
followers_url: 'https://api.github.com/users/astrandb/followers',
following_url: 'https://api.github.com/users/astrandb/following{/other_user}',
gists_url: 'https://api.github.com/users/astrandb/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/astrandb',
id: 5016010,
login: 'astrandb',
node_id: 'MDQ6VXNlcjUwMTYwMTA=',
organizations_url: 'https://api.github.com/users/astrandb/orgs',
received_events_url: 'https://api.github.com/users/astrandb/received_events',
repos_url: 'https://api.github.com/users/astrandb/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/astrandb/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/astrandb/subscriptions',
type: 'User',
url: 'https://api.github.com/users/astrandb'
}
],
author_association: 'OWNER',
auto_merge: null,
base: {
|