Using kotlin-name-generator (KNG) #518
draft_release.yml
on: pull_request
draft_next_release
8s
Annotations
2 errors
draft_next_release
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9390229430',
status: 422,
response: {
url: 'https://api.github.com/repos/Baret/pltcmd/releases/34238413',
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, 05 Jun 2024 19:39:29 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': '2080:3B07A7:98DEFA2:10D93B60:6660BEF1',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4995',
'x-ratelimit-reset': '1717619963',
'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#update-a-release'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/Baret/pltcmd/releases/34238413',
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":"# v0.2.0 is here!\\n## \\"Fighting elements\\"\\n\\n_Very descriptive text for this release_. Will be updated... soon...\\n\\n## Changelog\\n\\n- changed JDK from 17 to 21 [PR #213]\\n- Renovate Onboarding PR [PR #173]\\n- Bump ch.qos.logback:logback-classic from 1.2.11 to 1.2.13 [PR #172]\\n- New module: Graphics/Icons [PR #170]\\n\\n## UI improvements\\n\\n- New info sidebar [PR #95]\\n- frontend strings [PR #111]\\n\\n## New and improved Features\\n\\n- entities merge their knowledge into comrades [PR #163]\\n- Resolves represent the map as graph [PR #164]\\n- Factions as graph [PR #160]\\n- knowledge of contacts [PR #139]\\n- Units of measurement () [PR #148]\\n- created module pathfinding [PR #151]\\n- map persistence [PR #140]\\n- Knowledge terrain and KnownWorld (PR #143]\\n- Faction [PR #138]\\n- Contact reports, [PR #131]\\n- Bases have an own entity type (#116) [PR #132]\\n- Vision [PR #121]\\n- New info sidebar [PR #95]\\n- ranged combat [PR #117]\\n- unit based combat [PR #114]\\n- Commander's intent [PR #92]\\n- rework elements model [PR #70]\\n- Basic Combat [PR #80]\\n\\n## Bug Fixes\\n\\n- Start conversation on next tick after user input [PR #94]\\n\\n## Other changes\\n\\n- fix coroutines usage [PR #168]\\n- Bump versions [PR #167]\\n- Changed Maybe<WorldTile> to nullable [PR #165]\\n- improve coordinate progression [PR #159]\\n- Issue125 use kotlin logging [PR #156]\\n- Use new hexwork versions [PR #154]\\n- Elements DB () [PR #137]\\n- New versions of Zircon and Amethyst [PR #128]\\n- Config for release drafter action (#43) [PR #123]\\n\\n## Dependency updates\\n\\n- Update dependency io.github.microutils:kotlin-logging-jvm to v3 [PR #201]\\n- Update kotlin monorepo to v2 (major) [PR #211]\\n- Update dependency org.apache.maven.plu
|
draft_next_release
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6.0.0/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.0.0/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '9390229430',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '987ce833f36b8dbce0a3c8fbfde1c8dde9b6bf5b',
before: '7a7e523d680fb4a1f383117d4f4468dfb5c5e422',
number: 200,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Baret/pltcmd/issues/200/comments'
},
commits: {
href: 'https://api.github.com/repos/Baret/pltcmd/pulls/200/commits'
},
html: { href: 'https://github.com/Baret/pltcmd/pull/200' },
issue: {
href: 'https://api.github.com/repos/Baret/pltcmd/issues/200'
},
review_comment: {
href: 'https://api.github.com/repos/Baret/pltcmd/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Baret/pltcmd/pulls/200/comments'
},
self: {
href: 'https://api.github.com/repos/Baret/pltcmd/pulls/200'
},
statuses: {
href: 'https://api.github.com/repos/Baret/pltcmd/statuses/987ce833f36b8dbce0a3c8fbfde1c8dde9b6bf5b'
}
},
active_lock_reason: null,
additions: 402,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'Baret:master',
ref: 'master',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/Baret/pltcmd/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/Baret/pltcmd/assignees{/user}',
blobs_url: 'https://api.github.com/repos/Baret/pltcmd/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/Baret/pltcmd/branches{/branch}',
clone_url: 'https://github.com/Baret/pltcmd.git',
collaborators_url: 'https://api.github.com/repos/Baret/pltcmd/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/Baret/pltcmd/comments{/number}',
commits_url: 'https://api.github.com/repos/Baret/pltcmd/commits{/sha}',
compare_url: 'https://api.github.com/repos/Baret/pltcmd/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/Baret/pltcmd/contents/{+path}',
contributors_url: 'https://api.github.com/repos/Baret/pltcmd/contributors',
created_at: '2019-12-12T19:06:51Z',
default_branch: 'master',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/Baret/pltcmd/deployments',
description: 'Control military units only with your radio',
disabled: false,
downloads_url: 'https://api.github.com/repos/Baret/pltcmd/downloads',
events_url: 'https://api.github.com/repos/Baret/pltcmd/events',
fork: false,
forks: 0,
forks_count: 0,
forks_url: 'https://api.github.com/repos/Baret/pltcmd/forks',
full_name: 'Baret/pltcmd',
git_commits_url: 'https://api.github.com/repos/Baret/pltcmd/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/Baret/pltcmd/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/Baret/pltcmd/git/tags{/sha}',
git_url: 'git://github.com/Baret/pltcmd.git',
|