Prosopo error simplification #1094
release-drafter.yml
on: pull_request
update_release_draft
5s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '7540619890',
status: 422,
response: {
url: 'https://api.github.com/repos/prosopo/captcha/releases/122741916',
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: 'Tue, 16 Jan 2024 11:00:59 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': '7C28:7135:18715D:323BF8:65A661EB',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '971',
'x-ratelimit-reset': '1705404525',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '29',
'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/prosopo/captcha/releases/122741916',
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":"## What’s Changed\\n\\n* Provider gui config from packages (#984) @HughParry\\n* logger fns via index (#983) @goastler\\n* Release 0.2.27 (#981) @github-actions\\n* remove auto-merge to allow tests to run (#978) @goastler\\n* add flux redeploy step to publish workflow (#980) @goastler\\n* Release 0.2.26 (#977) @github-actions\\n* add common contract to publish workflow (#974) @goastler\\n* auto merge (#976) @goastler\\n* Update substrate contracts node to v0.35 (#975) @forgetso\\n* auto enable auto merge on PRs (#973) @goastler\\n* restrict publish workflow triggers and concurrency (#972) @goastler\\n* Add a production key for database config (#963) @forgetso\\n","draft":true,"prerelease":false,"make_latest":"true","tag_name":"untagged-69bfb61ac4f732f272f5","target_commitish":"refs/pull/930/merge"}',
request: {}
},
event: {
id: '7540619890',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'dd190b868020ecc10b33c233d1c9aacf79786bda',
before: '9a75c9db921e34635c8efad145f1304e25df248c',
number: 930,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/84969805?v=4',
description: '',
events_url: 'https://api.github.com/orgs/prosopo/events',
hooks_url: 'https://api.github.com/orgs/prosopo/hooks',
id: 84969805,
issues_url: 'https://api.github.com/orgs/prosopo/issues',
login: 'prosopo',
members_url: 'https://api.github.com/orgs/prosopo/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjg0OTY5ODA1',
public_members_url: 'https://api.github.com/orgs/prosopo/public_members{/member}',
repos_url: 'https://api.github.com/orgs/prosopo/repos',
url: 'https://api.github.com/orgs/prosopo'
},
pull
|
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: '7540619890',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'dd190b868020ecc10b33c233d1c9aacf79786bda',
before: '9a75c9db921e34635c8efad145f1304e25df248c',
number: 930,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/84969805?v=4',
description: '',
events_url: 'https://api.github.com/orgs/prosopo/events',
hooks_url: 'https://api.github.com/orgs/prosopo/hooks',
id: 84969805,
issues_url: 'https://api.github.com/orgs/prosopo/issues',
login: 'prosopo',
members_url: 'https://api.github.com/orgs/prosopo/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjg0OTY5ODA1',
public_members_url: 'https://api.github.com/orgs/prosopo/public_members{/member}',
repos_url: 'https://api.github.com/orgs/prosopo/repos',
url: 'https://api.github.com/orgs/prosopo'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/prosopo/captcha/issues/930/comments'
},
commits: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/930/commits'
},
html: { href: 'https://github.com/prosopo/captcha/pull/930' },
issue: {
href: 'https://api.github.com/repos/prosopo/captcha/issues/930'
},
review_comment: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/930/comments'
},
self: {
href: 'https://api.github.com/repos/prosopo/captcha/pulls/930'
},
statuses: {
href: 'https://api.github.com/repos/prosopo/captcha/statuses/dd190b868020ecc10b33c233d1c9aacf79786bda'
}
},
active_lock_reason: null,
additions: 25401,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: {
commit_message: '* Including optional time for isValid in server\r\n' +
'\r\n' +
'* Adding time sensitive verification to provider verify func\r\n' +
'\r\n' +
'* Unused UserCommitmentRecord\r\n' +
'\r\n' +
'* Passing maxVerifiedTime through server and frontend\r\n' +
'\r\n' +
'* Removing overloaded Error constructors\r\n' +
'\r\n' +
'* Basic impl for the extended contract error classes\r\n' +
'\r\n' +
'* Migrating initial dev errors\r\n' +
'\r\n' +
'* Updated error classes\r\n' +
'\r\n' +
'* Updating error options types\r\n' +
'\r\n' +
'* Migrating mongo errors to new error style\r\n' +
'\r\n' +
'* CAPTCHA error updates\r\n' +
'\r\n' +
'* CLI error fixes\r\n' +
'\r\n' +
'* Contract Errors update\r\n' +
'\r\n' +
'* Errors updates\r\n' +
'\r\n' +
'* Errors switched over from old to new methods\r\n' +
'\r\n' +
'* provider gui package json import fix\r\n' +
'\r\n' +
'* Removing wontfix test\r\n' +
'\r\n' +
'* linting\r\n' +
'\r\n' +
'* Unused test file\r\n' +
'\r\n' +
'* Removing Serbian\r\n' +
'\r\n' +
'* Fixing GUI import issues\r\n' +
'\r\n' +
'* npm
|