fix: fix server crash when executing console commands #2504
release-draft.yml
on: pull_request
update_release_draft
9s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9337548217',
status: 422,
response: {
url: 'https://api.github.com/repos/MovingBlocks/Terasology/releases/78773570',
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: 'Sun, 02 Jun 2024 10:24:13 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': 'D9C1:262B6E:10A7498:1CDF4FE:665C484D',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4994',
'x-ratelimit-reset': '1717327446',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '6',
'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/MovingBlocks/Terasology/releases/78773570',
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":"## Changes\\n\\n- #5209 qa: address PMD GuardLogStatement warnings (@soloturn)\\n- #5243 Windowedfullscreen fix (@Khaled-Dridi)\\n- #5230 update gradle to support java-22 (@soloturn)\\n- #5231 introduce JUnit tag \\"flaky\\", to exclude tests from running. (@soloturn)\\n- #5217 test: add private serialisation cases to type serialiser tests (@BenjaminAmos)\\n- #5211 Part fix for M1 support (@priya4991)\\n- #5207 slf4j 1.7.x --> 2.0.11 (@soloturn)\\n- #5193 remove logback RegexFilterAction, not supported any more. (@soloturn)\\n- #5204 prepare subprojects.settings.gradle for kotlin (@soloturn)\\n- #5192 Terasology engine (@soloturn)\\n- #5195 prepare switch over to kotlin, \\"new\\" java date formatting (@soloturn)\\n- #5181 qa: parametrize logger usages (@jdrueckert)\\n- #5189 gradle-8.5, full java-21 support. (@soloturn)\\n- #5178 Qa/engine tests (@soloturn)\\n- #5180 revert: \\"qa: parametrize logger usages\\" (@jdrueckert)\\n- #5179 qa: consume TeraConfig v2.2.0 (@jdrueckert)\\n- #5154 qa: fix typehandlerlibrary spotbugs findings (@soloturn)\\n- #5162 Compile against Java 17 (@BenjaminAmos)\\n- #5158 Fix crash when system locale is complex (@rzats)\\n- #5160 perf(rendering): use MONO rendering stage (@skaldarnar)\\n- #5156 Update Ukrainian locale with current strings (@rzats)\\n- #5153 Gradle deprecations (@soloturn)\\n- #5147 convert settings.gradle to kotlin (@soloturn)\\n- #5146 fix pmd warnings, codemetrics-2.1.0, gradle-8.4 (@soloturn)\\n- #5138 gradle 8.3, supporting java-21 via its kotlin dependency (@soloturn)\\n- #5142 New Artifactory URL (@Cervator)\\n- #5107 Java 18 - do not set SecurityManager if unsupported (@BenjaminAmos)\\n- #5095 doc: update README (@sfavello)\\n- #5089 Update menu_en.lang (@NikitasMaragkos)\\n- #5046 test(MTE
|
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: '9337548217',
name: 'pull_request',
payload: {
action: 'opened',
number: 5250,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/1292442?v=4',
description: 'The MovingBlocks org on GitHub is the home of the Terasology engine repo, other frameworks, DestSol, etc. See https://github.com/Terasology for module repos',
events_url: 'https://api.github.com/orgs/MovingBlocks/events',
hooks_url: 'https://api.github.com/orgs/MovingBlocks/hooks',
id: 1292442,
issues_url: 'https://api.github.com/orgs/MovingBlocks/issues',
login: 'MovingBlocks',
members_url: 'https://api.github.com/orgs/MovingBlocks/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjEyOTI0NDI=',
public_members_url: 'https://api.github.com/orgs/MovingBlocks/public_members{/member}',
repos_url: 'https://api.github.com/orgs/MovingBlocks/repos',
url: 'https://api.github.com/orgs/MovingBlocks'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/issues/5250/comments'
},
commits: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/5250/commits'
},
html: {
href: 'https://github.com/MovingBlocks/Terasology/pull/5250'
},
issue: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/issues/5250'
},
review_comment: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/5250/comments'
},
self: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/5250'
},
statuses: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/statuses/9f0d961f39cc29ffdb38090f9d8f5e32761ee4b0'
}
},
active_lock_reason: null,
additions: 1,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'MovingBlocks:develop',
ref: 'develop',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: false,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/MovingBlocks/Terasology/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/MovingBlocks/Terasology/assignees{/user}',
blobs_url: 'https://api.github.com/repos/MovingBlocks/Terasology/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/MovingBlocks/Terasology/branches{/branch}',
clone_url: 'https://github.com/MovingBlocks/Terasology.git',
collaborators_url: 'https://api.github.com/repos/MovingBlocks/Terasology/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/MovingBlocks/Terasology/comments{/number}',
commits_url: 'https://api.github.com/repos/MovingBlocks/Terasology/commits{/sha}',
compare_url: 'https://api.github.com/repos/MovingBlocks/Terasology/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/MovingBlocks/Terasology/contents/{+path}',
contributors_url: 'https://api.github.com/repos/MovingBloc
|
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/.
|