changelog type is optional #182
release.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: '7907968197',
status: 422,
response: {
url: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/releases/138054117',
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, 14 Feb 2024 22:04:54 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': 'C8AE:21A2:4C2DDC6:4E6A041:65CD3906',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '964',
'x-ratelimit-reset': '1707951781',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '36',
'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/LiveOakLabs/readme-api-go-client/releases/138054117',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n- build(deps): bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 @dependabot (#55)\\n- build(deps): bump securego/gosec from 2.18.2 to 2.19.0 @dependabot (#56)\\n- build(deps): bump golang.org/x/vuln from 1.0.3 to 1.0.4 @dependabot (#54)\\n- build(deps): bump golang.org/x/vuln from 1.0.1 to 1.0.3 @dependabot (#51)\\n- build(deps): bump release-drafter/release-drafter from 5 to 6 @dependabot (#53)\\n- build(deps): bump mvdan.cc/gofumpt from 0.5.0 to 0.6.0 @dependabot (#52)\\n- build(deps): bump github.com/segmentio/golines from 0.11.0 to 0.12.2 @dependabot (#49)\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.2.1","tag_name":"v0.2.1","target_commitish":"refs/pull/57/merge"}',
request: {}
},
event: {
id: '7907968197',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '2724fce2d615fd26c74ca7dd80e26f1e07cf31d9',
before: '4f5176e8b61e549560a32810030acde539717642',
number: 57,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/63351513?v=4',
description: 'Open source projects developed by Live Oak Bank',
events_url: 'https://api.github.com/orgs/LiveOakLabs/events',
hooks_url: 'https://api.github.com/orgs/LiveOakLabs/hooks',
id: 63351513,
issues_url: 'https://api.github.com/orgs/LiveOakLabs/issues',
login: 'LiveOakLabs',
members_url: 'https://api.github.com/orgs/LiveOakLabs/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYzMzUxNTEz',
public_members_url: 'https://api.github.com/orgs/LiveOakLabs/public_members{/member}',
repos_url: 'https://api.github.com/orgs/LiveOakLabs/repos',
url: 'https://api.github.com/orgs/
|
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: '7907968197',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '2724fce2d615fd26c74ca7dd80e26f1e07cf31d9',
before: '4f5176e8b61e549560a32810030acde539717642',
number: 57,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/63351513?v=4',
description: 'Open source projects developed by Live Oak Bank',
events_url: 'https://api.github.com/orgs/LiveOakLabs/events',
hooks_url: 'https://api.github.com/orgs/LiveOakLabs/hooks',
id: 63351513,
issues_url: 'https://api.github.com/orgs/LiveOakLabs/issues',
login: 'LiveOakLabs',
members_url: 'https://api.github.com/orgs/LiveOakLabs/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjYzMzUxNTEz',
public_members_url: 'https://api.github.com/orgs/LiveOakLabs/public_members{/member}',
repos_url: 'https://api.github.com/orgs/LiveOakLabs/repos',
url: 'https://api.github.com/orgs/LiveOakLabs'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/issues/57/comments'
},
commits: {
href: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/pulls/57/commits'
},
html: {
href: 'https://github.com/LiveOakLabs/readme-api-go-client/pull/57'
},
issue: {
href: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/issues/57'
},
review_comment: {
href: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/pulls/57/comments'
},
self: {
href: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/pulls/57'
},
statuses: {
href: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/statuses/2724fce2d615fd26c74ca7dd80e26f1e07cf31d9'
}
},
active_lock_reason: null,
additions: 25,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'LiveOakLabs:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/assignees{/user}',
blobs_url: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/branches{/branch}',
clone_url: 'https://github.com/LiveOakLabs/readme-api-go-client.git',
collaborators_url: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/comments{/number}',
commits_url: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/commits{/sha}',
compare_url: 'https://api.github.com/repos/LiveOakLabs/readme-api-go-client/compare/{base}...{head}',
contents_url
|