ci: enable PMD checks #2540
release-draft.yml
on: pull_request
update_release_draft
11s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '10341792606',
status: 422,
response: {
url: 'https://api.github.com/repos/MovingBlocks/Terasology/releases/160728894',
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': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Sun, 11 Aug 2024 18:13:04 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': '0849:36B4DB:8A5FFC3:103A6F77:66B8FF30',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4994',
'x-ratelimit-reset': '1723403577',
'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',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/MovingBlocks/Terasology/releases/160728894',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.13.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n- #5268 gradle-8.9 permit java-22 (@soloturn)\\n- #5262 Fixed typo in Home.md (@suopsuop)\\n- #5259 compilejava should create versioninfo file (@soloturn)\\n- #5252 fix(Movement): water super jump bug (@engiValk)\\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
|
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 process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '10341792606',
name: 'pull_request',
payload: {
action: 'opened',
number: 5273,
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/5273/comments'
},
commits: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/5273/commits'
},
html: {
href: 'https://github.com/MovingBlocks/Terasology/pull/5273'
},
issue: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/issues/5273'
},
review_comment: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/5273/comments'
},
self: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/5273'
},
statuses: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/statuses/93f71b4d7c998f299cafdabc166c171fcfb20867'
}
},
active_lock_reason: null,
additions: 5,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/29981695?v=4',
events_url: 'https://api.github.com/users/jdrueckert/events{/privacy}',
followers_url: 'https://api.github.com/users/jdrueckert/followers',
following_url: 'https://api.github.com/users/jdrueckert/following{/other_user}',
gists_url: 'https://api.github.com/users/jdrueckert/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/jdrueckert',
id: 29981695,
login: 'jdrueckert',
node_id: 'MDQ6VXNlcjI5OTgxNjk1',
organizations_url: 'https://api.github.com/users/jdrueckert/orgs',
received_events_url: 'https://api.github.com/users/jdrueckert/received_events',
repos_url: 'https://api.github.com/users/jdrueckert/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/jdrueckert/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/jdrueckert/subscriptions',
type: 'User',
url: 'https://api.github.com/users/jdrueckert'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/29981695?v=4',
events_url: 'https://api.github.com/users/jdrueckert/events{/privacy}',
followers_url: 'https://api.github.com/users/jdrueckert/followers',
following_url: 'https://api.github.com/users/jdrueckert/following{/other_user}',
|
update_release_draft
The following actions uses Node.js version which is deprecated and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|