fix: PC-15140 Add at least second time resolution for firstEventStart field #1727
release-drafter.yml
on: pull_request
update_release_draft
5s
Annotations
2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12271968975',
status: 422,
response: {
url: 'https://api.github.com/repos/nobl9/nobl9-go/releases',
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: 'Wed, 11 Dec 2024 07:54:39 GMT',
'github-authentication-token-expiration': '2025-01-16 00:00:00 +0100',
'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; contents=write,workflows=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': '70C1:12D42F:2F87437:5DE99E5:6759453F',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4955',
'x-ratelimit-reset': '1733907003',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '45',
'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#create-a-release',
status: '422'
}
},
request: {
method: 'POST',
url: 'https://api.github.com/repos/nobl9/nobl9-go/releases',
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: `{"target_commitish":"refs/pull/608/merge","name":"v0.92.2","tag_name":"v0.92.2","body":"# What's Changed\\n\\n* No changes\\n","draft":true,"prerelease":false,"make_latest":"true"}`,
request: {}
},
event: {
id: '12271968975',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: '…d validation\r\n' +
'\r\n' +
'## Motivation\r\n' +
'\r\n' +
'Describe what is the motivation behind the proposed changes.\r\n' +
'If possible reference the current solution/state of affairs.\r\n' +
'\r\n' +
'## Summary\r\n' +
'\r\n' +
'Recap of changed code.\r\n' +
'\r\n' +
'## Related changes\r\n' +
'\r\n' +
'List related changes from other PRs (if any).\r\n' +
'\r\n' +
'## Testing\r\n' +
'\r\n' +
'- Describe how to check introduced code changes manually. Simple `main.go` which takes advantage of the introduced changes is preferred (if possible and useful).\r\n' +
'- Take care of test coverage on unit, integration or even end-to-end levels.\r\n' +
'\r\n' +
'## Release Notes\r\n' +
'\r\n' +
'If this change should be part of the Release Notes,\r\n' +
'**replace this entire paragraph** with 1-3 sentences about the changes.\r\n' +
'Otherwise, you **MUST** remove this section entirely.\r\n' +
'\r\n' +
'Does this PR contain any breaking changes?\r\n' +
'If so, add `## Breaking Changes` header and lis
|
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: '12271968975',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: '…d validation\r\n' +
'\r\n' +
'## Motivation\r\n' +
'\r\n' +
'Describe what is the motivation behind the proposed changes.\r\n' +
'If possible reference the current solution/state of affairs.\r\n' +
'\r\n' +
'## Summary\r\n' +
'\r\n' +
'Recap of changed code.\r\n' +
'\r\n' +
'## Related changes\r\n' +
'\r\n' +
'List related changes from other PRs (if any).\r\n' +
'\r\n' +
'## Testing\r\n' +
'\r\n' +
'- Describe how to check introduced code changes manually. Simple `main.go` which takes advantage of the introduced changes is preferred (if possible and useful).\r\n' +
'- Take care of test coverage on unit, integration or even end-to-end levels.\r\n' +
'\r\n' +
'## Release Notes\r\n' +
'\r\n' +
'If this change should be part of the Release Notes,\r\n' +
'**replace this entire paragraph** with 1-3 sentences about the changes.\r\n' +
'Otherwise, you **MUST** remove this section entirely.\r\n' +
'\r\n' +
'Does this PR contain any breaking changes?\r\n' +
'If so, add `## Breaking Changes` header and list the introduced changes there.\r\n'
}
},
number: 608,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/58781264?v=4',
description: '',
events_url: 'https://api.github.com/orgs/nobl9/events',
hooks_url: 'https://api.github.com/orgs/nobl9/hooks',
id: 58781264,
issues_url: 'https://api.github.com/orgs/nobl9/issues',
login: 'nobl9',
members_url: 'https://api.github.com/orgs/nobl9/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjU4NzgxMjY0',
public_members_url: 'https://api.github.com/orgs/nobl9/public_members{/member}',
repos_url: 'https://api.github.com/orgs/nobl9/repos',
url: 'https://api.github.com/orgs/nobl9'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/issues/608/comments'
},
commits: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/608/commits'
},
html: { href: 'https://github.com/nobl9/nobl9-go/pull/608' },
issue: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/issues/608'
},
review_comment: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/608/comments'
},
self: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/608'
},
statuses: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/statuses/744f1c167dd1a87cc101b163445189af3a867a2f'
}
},
active_lock_reason: null,
additions: 50,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'nobl9:main',
ref: 'main',
repo: {
allow_auto_merge: true,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: false,
allow_squash_merge: true,
|
update_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|