[feature] update current debit #1654
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: '6870412664',
status: 422,
response: {
url: 'https://api.github.com/repos/impactMarket/backend/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': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 14 Nov 2023 22:44:49 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; contents=write,workflows=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': 'A3C6:075A:1B1A9A:38D784:6553F861',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '995',
'x-ratelimit-reset': '1700005487',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '5',
'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'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/impactMarket/backend/releases',
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: '{"target_commitish":"refs/pull/1019/merge","name":"1.11.14","tag_name":"1.11.14","body":"## Changes\\n* [bugfix] fix borrower applications (#1027) @obernardovieira\\n* [bugfix] fix client id in middleware (#1029) @obernardovieira\\n* [feature] reaching maturity notification (#983) @dev-jotape\\n","draft":true,"prerelease":false,"make_latest":"true"}',
request: {}
},
event: {
id: '6870412664',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '300779d09548dfc48d2aae239599d7b52c09f202',
before: '27d52e47b71aaa95f3f6475ea7e77b49a1660d00',
number: 1019,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/42247406?v=4',
description: 'Human Empowerment Protocol',
events_url: 'https://api.github.com/orgs/impactMarket/events',
hooks_url: 'https://api.github.com/orgs/impactMarket/hooks',
id: 42247406,
issues_url: 'https://api.github.com/orgs/impactMarket/issues',
login: 'impactMarket',
members_url: 'https://api.github.com/orgs/impactMarket/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyMjQ3NDA2',
public_members_url: 'https://api.github.com/orgs/impactMarket/public_members{/member}',
repos_url: 'https://api.github.com/orgs/impactMarket/repos',
url: 'https://api.github.com/orgs/impactMarket'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/impactMarket/backend/issues/1019/comments'
},
commits: {
href: 'https://api.github.com/repos/impactMarket/backend/pulls/1019/commits'
},
html: { href: 'https://github.com/impactMarket/backend/pull/1019' },
issue: {
|
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: '6870412664',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '300779d09548dfc48d2aae239599d7b52c09f202',
before: '27d52e47b71aaa95f3f6475ea7e77b49a1660d00',
number: 1019,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/42247406?v=4',
description: 'Human Empowerment Protocol',
events_url: 'https://api.github.com/orgs/impactMarket/events',
hooks_url: 'https://api.github.com/orgs/impactMarket/hooks',
id: 42247406,
issues_url: 'https://api.github.com/orgs/impactMarket/issues',
login: 'impactMarket',
members_url: 'https://api.github.com/orgs/impactMarket/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjQyMjQ3NDA2',
public_members_url: 'https://api.github.com/orgs/impactMarket/public_members{/member}',
repos_url: 'https://api.github.com/orgs/impactMarket/repos',
url: 'https://api.github.com/orgs/impactMarket'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/impactMarket/backend/issues/1019/comments'
},
commits: {
href: 'https://api.github.com/repos/impactMarket/backend/pulls/1019/commits'
},
html: { href: 'https://github.com/impactMarket/backend/pull/1019' },
issue: {
href: 'https://api.github.com/repos/impactMarket/backend/issues/1019'
},
review_comment: {
href: 'https://api.github.com/repos/impactMarket/backend/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/impactMarket/backend/pulls/1019/comments'
},
self: {
href: 'https://api.github.com/repos/impactMarket/backend/pulls/1019'
},
statuses: {
href: 'https://api.github.com/repos/impactMarket/backend/statuses/300779d09548dfc48d2aae239599d7b52c09f202'
}
},
active_lock_reason: null,
additions: 110,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'impactMarket: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/impactMarket/backend/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/impactMarket/backend/assignees{/user}',
blobs_url: 'https://api.github.com/repos/impactMarket/backend/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/impactMarket/backend/branches{/branch}',
clone_url: 'https://github.com/impactMarket/backend.git',
collaborators_url: 'https://api.github.com/repos/impactMarket/backend/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/impactMarket/backend/comments{/number}',
commits_url: 'https://api.github.com/repos/impactMarket/backend/commits{/sha}',
compare_url: 'https://api.github.com/repos/impactMarket/backend/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/impactMarket/backend/contents/{+path}',
contributors_url: 'https://api.github.com/repos/impactMarket/backend/contributors',
created_at: '2020-04-30T16:09:12Z',
|