feat: BACK-8055 Detect unused definitions #440
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: '12033504551',
status: 422,
response: {
url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/releases/187016650',
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: 'Tue, 26 Nov 2024 15:10:41 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': '0406:3A0BAA:F76E0A:1E9F430:6745E4F1',
'x-oauth-scopes': 'delete:packages, repo, workflow, write:packages',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4947',
'x-ratelimit-reset': '1732634982',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '53',
'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/LedgerHQ/python-erc7730/releases/187016650',
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":"- chore: update submodules - 2024-11-22 16:17 @ldg-github-ci (#153)\\n\\n## 🛠️ Dependency updates\\n\\n- dependencies: update dependencies @ldg-github-ci (#155)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.1.31","tag_name":"v0.1.31","target_commitish":"refs/pull/154/merge"}',
request: {}
},
event: {
id: '12033504551',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '102b2b4aec29bb8f482b844f5ba7b6149960c8ae',
before: 'ff54e62aae92bb9d79e7f2edacd570a34c93aaed',
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: 154,
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:
|
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: '12033504551',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '102b2b4aec29bb8f482b844f5ba7b6149960c8ae',
before: 'ff54e62aae92bb9d79e7f2edacd570a34c93aaed',
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: 154,
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/154/comments'
},
commits: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/pulls/154/commits'
},
html: {
href: 'https://github.com/LedgerHQ/python-erc7730/pull/154'
},
issue: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/issues/154'
},
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/154/comments'
},
self: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/pulls/154'
},
statuses: {
href: 'https://api.github.com/repos/LedgerHQ/python-erc7730/statuses/102b2b4aec29bb8f482b844f5ba7b6149960c8ae'
}
},
active_lock_reason: null,
additions: 146,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'LedgerHQ:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/assignees{/user}',
blobs_url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/branches{/branch}',
clone_url: 'https://github.com/LedgerHQ/python-erc7730.git',
collaborators_url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/LedgerHQ/python-erc7730/com
|