fix: switch typo in ConditionAction #2592
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: '11541244910',
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, 27 Oct 2024 14:22:09 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': '2481:15FD5F:5CC8BD1:B122F81:671E4C91',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4988',
'x-ratelimit-reset': '1730042508',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '12',
'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- #5285 centralize version declaration of jna, junit, protobuf (@soloturn)\\n- #5282 permit install into windows program files (@soloturn)\\n- #5279 update to gradle-8.10.2 (@soloturn)\\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- #5
|
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: '11541244910',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'ffcccca21007c1630e1e865c32bf30a95cc5f67c',
before: '5e6879f9987b3e7e1ce9fef508e7bfd76d6f7282',
number: 5288,
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/5288/comments'
},
commits: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/5288/commits'
},
html: {
href: 'https://github.com/MovingBlocks/Terasology/pull/5288'
},
issue: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/issues/5288'
},
review_comment: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/5288/comments'
},
self: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/pulls/5288'
},
statuses: {
href: 'https://api.github.com/repos/MovingBlocks/Terasology/statuses/ffcccca21007c1630e1e865c32bf30a95cc5f67c'
}
},
active_lock_reason: null,
additions: 1,
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',
user_view_type: 'public'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/29981695?v=4',
events_url: 'https://api.github.com/users/jdrueckert/events{/privacy}',
followers_url:
|
update_release_draft
The following actions use a deprecated Node.js version 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/
|