fix: Adjust validation for missing metric spec [PC-15176] #1763
Annotations
2 errors and 1 warning
Run release-drafter/release-drafter@v6
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '12409645490',
status: 422,
response: {
url: 'https://api.github.com/repos/nobl9/nobl9-go/releases/190825495',
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: 'Thu, 19 Dec 2024 09:12:56 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',
'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': '380F:24E72B:1E70ADE:3C1D410:6763E398',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4950',
'x-ratelimit-reset': '1734602355',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '50',
'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/nobl9/nobl9-go/releases/190825495',
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":"# What's Changed\\n\\n## 🧰 Maintenance\\n\\n- chore: Update dependency cspell to v8.17.1 (#614) @renovate\\n- chore: Update dependency cspell to v8.17.0 (#612) @renovate\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.92.4","tag_name":"v0.92.4","target_commitish":"refs/pull/613/merge"}`,
request: {}
},
event: {
id: '12409645490',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '2f57d1174fdd0469d48aa4a78036d815e9b55411',
before: '75f17cc343405d729005d4d4e20045ece952a6cb',
number: 613,
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/613/comments'
},
commits: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/613/commits'
},
html: { href: 'https://github.com/nobl9/nobl9-go/pull/613' },
issue: {
href: 'https://api.github.com/repos/nobl9/nobl9
|
Run release-drafter/release-drafter@v6
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: '12409645490',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '2f57d1174fdd0469d48aa4a78036d815e9b55411',
before: '75f17cc343405d729005d4d4e20045ece952a6cb',
number: 613,
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/613/comments'
},
commits: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/613/commits'
},
html: { href: 'https://github.com/nobl9/nobl9-go/pull/613' },
issue: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/issues/613'
},
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/613/comments'
},
self: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/613'
},
statuses: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/statuses/2f57d1174fdd0469d48aa4a78036d815e9b55411'
}
},
active_lock_reason: null,
additions: 78,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
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,
allow_update_branch: true,
archive_url: 'https://api.github.com/repos/nobl9/nobl9-go/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/nobl9/nobl9-go/assignees{/user}',
blobs_url: 'https://api.github.com/repos/nobl9/nobl9-go/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/nobl9/nobl9-go/branches{/branch}',
clone_url: 'https://github.com/nobl9/nobl9-go.git',
collaborators_url: 'https://api.github.com/repos/nobl9/nobl9-go/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/nobl9/nobl9-go/comments{/number}',
commits_url: 'https://api.github.com/repos/nobl9/nobl9-go/commits{/sha}',
compare_url: 'https://api.github.com/repos/nobl9/nobl9-go/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/nobl9/nobl9-go/contents/{+path}',
contributors_url: 'https://api.github.com/repos/nobl9/nobl9-go/contributors',
created_at: '2021-08-13T06:35:53Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/nobl9/nobl9-go/deployments',
description: 'Nobl9 SDK for Go!',
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading