fix: better handle reset of vote metrics #160
release-drafter.yaml
on: pull_request
update_release_draft
4s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8448256075',
status: 422,
response: {
url: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/releases/141829035',
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: 'Wed, 27 Mar 2024 07:42:20 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': '17C7:1DC5:1489B7:243F3C:6603CDDC',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4992',
'x-ratelimit-reset': '1711528938',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '8',
'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/kilnfi/cosmos-validator-watcher/releases/141829035',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## 💫 Features\\n\\n* feat: expose validator earned commissions (#65) by @MattKetmo\\n* feat: expose counter of total transactions (#62) by @MattKetmo\\n* feat: redact nodes url when logging (#67) by @MattKetmo\\n\\n## 🕹️ Others\\n\\n* chore: upgrade dependencies (#66) by @MattKetmo\\n\\n**Full Changelog**: https://github.com/kilnfi/cosmos-validator-watcher/compare/v0.9.2...v0.10.0\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.10.0","tag_name":"v0.10.0","target_commitish":"refs/pull/68/merge"}',
request: {}
},
event: {
id: '8448256075',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'e7e980eb0fa7a013341788e98793564f3d5d89e9',
before: 'c19d5805c4b39c6bbc85d9123503525915c07645',
number: 68,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/99018327?v=4',
description: 'Enterprise-grade staking made easy',
events_url: 'https://api.github.com/orgs/kilnfi/events',
hooks_url: 'https://api.github.com/orgs/kilnfi/hooks',
id: 99018327,
issues_url: 'https://api.github.com/orgs/kilnfi/issues',
login: 'kilnfi',
members_url: 'https://api.github.com/orgs/kilnfi/members{/member}',
node_id: 'O_kgDOBebmVw',
public_members_url: 'https://api.github.com/orgs/kilnfi/public_members{/member}',
repos_url: 'https://api.github.com/orgs/kilnfi/repos',
url: 'https://api.github.com/orgs/kilnfi'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/issues/68/comments'
},
commits: {
href: 'https://api.github.com/repos/kilnfi/cosmos-val
|
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: '8448256075',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'e7e980eb0fa7a013341788e98793564f3d5d89e9',
before: 'c19d5805c4b39c6bbc85d9123503525915c07645',
number: 68,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/99018327?v=4',
description: 'Enterprise-grade staking made easy',
events_url: 'https://api.github.com/orgs/kilnfi/events',
hooks_url: 'https://api.github.com/orgs/kilnfi/hooks',
id: 99018327,
issues_url: 'https://api.github.com/orgs/kilnfi/issues',
login: 'kilnfi',
members_url: 'https://api.github.com/orgs/kilnfi/members{/member}',
node_id: 'O_kgDOBebmVw',
public_members_url: 'https://api.github.com/orgs/kilnfi/public_members{/member}',
repos_url: 'https://api.github.com/orgs/kilnfi/repos',
url: 'https://api.github.com/orgs/kilnfi'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/issues/68/comments'
},
commits: {
href: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/pulls/68/commits'
},
html: {
href: 'https://github.com/kilnfi/cosmos-validator-watcher/pull/68'
},
issue: {
href: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/issues/68'
},
review_comment: {
href: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/pulls/68/comments'
},
self: {
href: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/pulls/68'
},
statuses: {
href: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/statuses/e7e980eb0fa7a013341788e98793564f3d5d89e9'
}
},
active_lock_reason: null,
additions: 68,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base: {
label: 'kilnfi:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/assignees{/user}',
blobs_url: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/branches{/branch}',
clone_url: 'https://github.com/kilnfi/cosmos-validator-watcher.git',
collaborators_url: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/comments{/number}',
commits_url: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/commits{/sha}',
compare_url: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/kilnfi/cosmos-validator-watcher/contents/{+path}',
contributor
|
update_release_draft
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|