qa: address PMD GuardLogStatement warnings #2324
release-draft.yml
on: pull_request
update_release_draft
8s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '7920207856',
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: 'Thu, 15 Feb 2024 17:54:39 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': 'A3C1:3F4A:3762CE2:6F5751F:65CE4FDF',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '856',
'x-ratelimit-reset': '1708021567',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '144',
'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- #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): IntegrationEnvironment is the only annotation you need (maybe) (@keturn)\\n- #5073 feat: add check for facet provider requirements (@MrGizmo123)\\n- #5045 test(StorageManager): Convert TTE tests to MTE (@keturn)\\n\\n## :rocket: Features\\n\\n- #5184 doc: Contributor Quick Start JDK 17 (@jdrueckert)\\n- #5173 qa: parametrize logger usages (@jdrueckert)\\n- #5168 test: split and improve
|
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: '7920207856',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ea2c2b060dc0e10ac1816ea099a43549e776de22',
before: 'd203bc6252c8387130592a1179b3646918f86265',
number: 5209,
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/5209/comments'
},
commits: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/5209/commits'
},
html: {
href: 'https://github.com/MovingBlocks/Terasology/pull/5209'
},
issue: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/issues/5209'
},
review_comment: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/5209/comments'
},
self: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/5209'
},
statuses: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/statuses/ea2c2b060dc0e10ac1816ea099a43549e776de22'
}
},
active_lock_reason: null,
additions: 372,
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.c
|
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/.
|