feat: PC-12940/PC-12941 Allow to configure budget drop condition type #709
release-drafter.yml
on: pull_request
update_release_draft
9s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '9273674216',
status: 422,
response: {
url: 'https://api.github.com/repos/nobl9/nobl9-go/releases/150408978',
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': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 28 May 2024 17:19:24 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': 'F8C0:3A4FF3:31DC2B2:5968386:6656121C',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4993',
'x-ratelimit-reset': '1716920360',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '7',
'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'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/nobl9/nobl9-go/releases/150408978',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.8.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"# What\'s Changed\\n\\n## 🚀 Features\\n\\n- feat: PC-12488 PC-12490 Add LogicMonitor Direct, Agent and Metric Spec (#408) @dawidwisn\\n- test: PC-12019 Add basic tests for `slo.SpecHasCompositeObjectives()` (#404) @marcinlawnik\\n- feat: PC-12488 PC-12490 Add LogicMonitor Direct, Agent and Metric Spec (#380) @dawidwisn\\n- feat: Add validation plan generator (#375) @nieomylnieja\\n- feat: Stabilize validation API - When usage (#369) @nieomylnieja\\n- feat: PC-12071: Add support for alerting window to more measurements (#361) @nobl9-adam-szymanski\\n- feat: PC-10331 Add annotation category (#365) @jakubpieta\\n\\n## 🐞 Bug Fixes\\n\\n- fix: PC-12544 Add validation for components list to be required (even if empty) (#403) @marcinlawnik\\n\\n## 🧰 Maintenance\\n\\n<details>\\n<summary>50 changes</summary>\\n\\n- chore: Update dependency markdownlint-cli to v0.41.0 (#427) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.53.10 (#426) @renovate\\n- chore: Update minor and patch golang dependencies (#425) @renovate\\n- chore: Update dependency cspell to v8.8.3 (#424) @renovate\\n- chore: Update module golang.org/x/vuln/cmd/govulncheck to v1.1.1 (#421) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.53.8 (#420) @renovate\\n- chore: Update dependency cspell to v8.8.2 (#419) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.53.7 (#417) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.53.6 (#416) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.53.5 (#415) @renovate\\n- chore: Add option to change output format to compacted JSON in docgen (#412) @nieomylnieja\\n- chore: Update minor and patch golang depende
|
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: '9273674216',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: '## Motivation\r\n' +
'\r\n' +
'Allow to configure new condition type based on budget drop.\r\n' +
'\r\n' +
'## Summary\r\n' +
'\r\n' +
'1. Extend set of alerting conditions with new measurement `budgetDrop`.\r\n' +
'2. Block possibility to set `lastsFor` for new condition type.\r\n' +
'3. Force to set `alertingWindow` for new condition type.\r\n' +
'4. Operator is GTE.\r\n' +
'\r\n' +
'## Testing\r\n' +
'\r\n' +
'TBD'
}
},
number: 423,
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/423/comments'
},
commits: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/423/commits'
},
html: { href: 'https://github.com/nobl9/nobl9-go/pull/423' },
issue: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/issues/423'
},
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/423/comments'
},
self: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/423'
},
statuses: {
href: 'https://api.github.com/repos/nobl9/nobl9-go/statuses/fd578c66fc691d96675e5f6593f597ca398d3f77'
}
},
active_lock_reason: null,
additions: 245,
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: false,
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}',
co
|