Implemented cast as
, try as
and force as
high-level type cast expressions for advanced type manipulation
#4573
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12845017104',
status: 422,
response: {
url: 'https://api.github.com/repos/Kipper-Lang/Kipper/releases/177247747',
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: 'Sat, 18 Jan 2025 14:59:17 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': '7C38:184B:124A619:24B0237:678BC1C5',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4970',
'x-ratelimit-reset': '1737215865',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '30',
'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/Kipper-Lang/Kipper/releases/177247747',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"# {INSERT_NAME} Update\\n## v0.12.1 - {YEAR-MONTH-DAY}\\n\\n* No changes\\n\\n## Full Details\\n\\n**View on NPM**: [`[email protected]`](https://www.npmjs.com/package/kipper/v/0.12.1)\\n**Detailed Changelog**: [`CHANGELOG.md`](https://github.com/Kipper-Lang/Kipper/blob/v0.12.1/CHANGELOG.md)\\n**Compare Changes**: https://github.com/Kipper-Lang/Kipper/compare/v0.12.0...v0.12.1\\n","draft":true,"prerelease":false,"make_latest":"true","name":"Kipper v0.12.1","tag_name":"v0.12.1","target_commitish":"refs/pull/693/merge"}',
request: {}
},
event: {
id: '12845017104',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'c8cf6dc56833644e9f2d2ef1033e20bcf2096520',
before: '56e430b261dc4cbef86060b3fe5d9540dc0021b6',
number: 693,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/123311855?v=4',
description: 'The public organisation for sharing the source code and managing the Kipper programming language.',
events_url: 'https://api.github.com/orgs/Kipper-Lang/events',
hooks_url: 'https://api.github.com/orgs/Kipper-Lang/hooks',
id: 123311855,
issues_url: 'https://api.github.com/orgs/Kipper-Lang/issues',
login: 'Kipper-Lang',
members_url: 'https://api.github.com/orgs/Kipper-Lang/members{/member}',
node_id: 'O_kgDOB1mW7w',
public_members_url: 'https://api.github.com/orgs/Kipper-Lang/public_members{/member}',
repos_url: 'https://api.github.com/orgs/Kipper-Lang/repos',
url: 'https://api.github.com/orgs/Kipper-Lang'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Kipper-Lang/Kipper/issues/693/comments'
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6/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/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '12845017104',
name: 'pull_request',
payload: {
action: 'synchronize',
after: 'c8cf6dc56833644e9f2d2ef1033e20bcf2096520',
before: '56e430b261dc4cbef86060b3fe5d9540dc0021b6',
number: 693,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/123311855?v=4',
description: 'The public organisation for sharing the source code and managing the Kipper programming language.',
events_url: 'https://api.github.com/orgs/Kipper-Lang/events',
hooks_url: 'https://api.github.com/orgs/Kipper-Lang/hooks',
id: 123311855,
issues_url: 'https://api.github.com/orgs/Kipper-Lang/issues',
login: 'Kipper-Lang',
members_url: 'https://api.github.com/orgs/Kipper-Lang/members{/member}',
node_id: 'O_kgDOB1mW7w',
public_members_url: 'https://api.github.com/orgs/Kipper-Lang/public_members{/member}',
repos_url: 'https://api.github.com/orgs/Kipper-Lang/repos',
url: 'https://api.github.com/orgs/Kipper-Lang'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/Kipper-Lang/Kipper/issues/693/comments'
},
commits: {
href: 'https://api.github.com/repos/Kipper-Lang/Kipper/pulls/693/commits'
},
html: { href: 'https://github.com/Kipper-Lang/Kipper/pull/693' },
issue: {
href: 'https://api.github.com/repos/Kipper-Lang/Kipper/issues/693'
},
review_comment: {
href: 'https://api.github.com/repos/Kipper-Lang/Kipper/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/Kipper-Lang/Kipper/pulls/693/comments'
},
self: {
href: 'https://api.github.com/repos/Kipper-Lang/Kipper/pulls/693'
},
statuses: {
href: 'https://api.github.com/repos/Kipper-Lang/Kipper/statuses/c8cf6dc56833644e9f2d2ef1033e20bcf2096520'
}
},
active_lock_reason: null,
additions: 6983,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/61756091?v=4',
events_url: 'https://api.github.com/users/Luna-Klatzer/events{/privacy}',
followers_url: 'https://api.github.com/users/Luna-Klatzer/followers',
following_url: 'https://api.github.com/users/Luna-Klatzer/following{/other_user}',
gists_url: 'https://api.github.com/users/Luna-Klatzer/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/Luna-Klatzer',
id: 61756091,
login: 'Luna-Klatzer',
node_id: 'MDQ6VXNlcjYxNzU2MDkx',
organizations_url: 'https://api.github.com/users/Luna-Klatzer/orgs',
received_events_url: 'https://api.github.com/users/Luna-Klatzer/received_events',
repos_url: 'https://api.github.com/users/Luna-Klatzer/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/Luna-Klatzer/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/Luna-Klatzer/subscriptions',
type: 'User',
url: 'https://api.github.com/users/Luna-Klatzer',
user_view_type: 'public'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/61756091?v=4',
events_url: 'https://api.github.com/users/Luna-Klatzer/events{/privacy}',
followers_url: 'https://api.github.com/users/Luna-Klatzer/followers',
following_url: 'https://api.github.com/users/Luna-Klatz
|
update_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|