refactor: split model in input/resolved #61
release-drafter.yml
on: pull_request
update_release_draft
3s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11139877462',
status: 422,
response: {
url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/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: 'Wed, 02 Oct 2024 07:49:40 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-oauth-scopes': 'repo',
'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': '6D01:3DF35F:1708B0C:18156A9:66FCFB14',
'x-oauth-scopes': 'delete:packages, repo, workflow, write:packages',
'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/LedgerHQ/python-erc7730/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/40/merge","name":"v0.0.21","tag_name":"v0.0.21","body":"- chore: make some fields non optional in schema @jnicoulaud-ledger (#37)\\n\\n## 🌈 Tech improvements\\n\\n- [ci] Bump gsoc2/automerge-action from 0.16.2 to 0.16.3 @dependabot (#38)\\n- [ci] Bump peter-evans/create-pull-request from 6 to 7 @dependabot (#39)\\n- feat: cleanups, setup conversion CLI, more extensive tests @jnicoulaud-ledger (#36)\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '11139877462',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'c704ad24443f09446d12232759fe35594bdc648c',
before: '3662e4c6a78a7019d6586b4c2cb38468da4a87e1',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/10339?v=4',
created_at: '2021-11-29T18:04:03Z',
description: '',
html_url: 'https://github.com/enterprises/ledger',
id: 10339,
name: 'Ledger',
node_id: 'E_kgDNKGM',
slug: 'ledger',
updated_at: '2023-01-30T20:07:48Z',
website_url: 'https://www.ledger.com'
},
number: 40,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/9784193?v=4',
description: 'Trusted hardware for blockchain applications',
events_url: 'https://api.github.com/orgs/LedgerHQ/events',
hooks_url: 'https://api.github.com/orgs/LedgerHQ/hooks',
id: 9784193,
issues_url: 'https://api.github.com/orgs/LedgerHQ/issues',
login: 'LedgerHQ',
members_url: 'https://api.github.com/orgs/LedgerHQ/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjk3ODQxOTM=',
public_members_url: 'https://api.github.com/orgs/LedgerHQ/public_members{/member}',
repos_url: 'https://api.github.com/orgs/LedgerHQ/repos',
url: 'https://api.github.co
|
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: '11139877462',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'c704ad24443f09446d12232759fe35594bdc648c',
before: '3662e4c6a78a7019d6586b4c2cb38468da4a87e1',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/10339?v=4',
created_at: '2021-11-29T18:04:03Z',
description: '',
html_url: 'https://github.com/enterprises/ledger',
id: 10339,
name: 'Ledger',
node_id: 'E_kgDNKGM',
slug: 'ledger',
updated_at: '2023-01-30T20:07:48Z',
website_url: 'https://www.ledger.com'
},
number: 40,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/9784193?v=4',
description: 'Trusted hardware for blockchain applications',
events_url: 'https://api.github.com/orgs/LedgerHQ/events',
hooks_url: 'https://api.github.com/orgs/LedgerHQ/hooks',
id: 9784193,
issues_url: 'https://api.github.com/orgs/LedgerHQ/issues',
login: 'LedgerHQ',
members_url: 'https://api.github.com/orgs/LedgerHQ/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjk3ODQxOTM=',
public_members_url: 'https://api.github.com/orgs/LedgerHQ/public_members{/member}',
repos_url: 'https://api.github.com/orgs/LedgerHQ/repos',
url: 'https://api.github.com/orgs/LedgerHQ'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/issues/40/comments'
},
commits: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/pulls/40/commits'
},
html: {
href: 'https://github.com/LedgerHQ/python-erc7730/pull/40'
},
issue: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/issues/40'
},
review_comment: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/pulls/40/comments'
},
self: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/pulls/40'
},
statuses: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/statuses/c704ad24443f09446d12232759fe35594bdc648c'
}
},
active_lock_reason: null,
additions: 1068,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/102984500?v=4',
events_url: 'https://api.github.com/users/jnicoulaud-ledger/events{/privacy}',
followers_url: 'https://api.github.com/users/jnicoulaud-ledger/followers',
following_url: 'https://api.github.com/users/jnicoulaud-ledger/following{/other_user}',
gists_url: 'https://api.github.com/users/jnicoulaud-ledger/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/jnicoulaud-ledger',
id: 102984500,
login: 'jnicoulaud-ledger',
node_id: 'U_kgDOBiNrNA',
organizations_url: 'https://api.github.com/users/jnicoulaud-ledger/orgs',
received_events_url: 'https://api.github.com/users/jnicoulaud-ledger/received_events',
repos_url: 'https://api.github.com/users/jnicoulaud-ledger/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/jnicoulaud-ledger/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/jnicoulaud-ledger/subscriptions',
type:
|