feat: [PC-13433]: add get Adjustment Events #668
release-drafter.yml
on: pull_request
update_release_draft
22s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '11818928524',
status: 422,
response: {
url: 'https://api.github.com/repos/nobl9/sloctl/releases/179099750',
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, 13 Nov 2024 14:07:04 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': '5806:2D888:2C464A:56E67B:6734B288',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4771',
'x-ratelimit-reset': '1731507481',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '229',
'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/sloctl/releases/179099750',
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":"# What's Changed\\n\\n## 🚀 Features\\n\\n- feat: List the queued replays [PC-13341] (#232) @dawidwisn\\n- feat: PC-13613 PC-13391 remove replay from queue (#225) @marcinlawnik\\n\\n## 🐞 Bug Fixes\\n\\n- fix: Fix string display (#242) @marcinlawnik\\n\\n## 🧰 Maintenance\\n\\n<details>\\n<summary>16 changes</summary>\\n\\n- chore: Update dependency golangci/golangci-lint to v1.62.0 (#247) @renovate\\n- chore: Update module golang.org/x/tools/cmd/goimports to v0.27.0 (#246) @renovate\\n- chore: Update module github.com/schollz/progressbar/v3 to v3.17.1 (#245) @renovate\\n- chore: Update module golang.org/x/sync to v0.9.0 (#244) @renovate\\n- chore: Update dependency cspell to v8.16.0 (#243) @renovate\\n- chore: Queue/Trigger the replay using sloctl [PC-13394] (#237) @dawidwisn\\n- chore: Update dependency cspell to v8.15.7 (#241) @renovate\\n- chore: Update dependency cspell to v8.15.6 (#240) @renovate\\n- chore: Update dependency cspell to v8.15.5 (#239) @renovate\\n- chore: Update module github.com/schollz/progressbar/v3 to v3.17.0 (#238) @renovate\\n- chore: Update dependency cspell to v8.15.4 (#235) @renovate\\n- chore: Update dependency cspell to v8.15.3 (#234) @renovate\\n- chore: Update dependency cspell to v8.15.2 (#233) @renovate\\n- chore: Update dependency yaml to v2.6.0 (#231) @renovate\\n- chore: Update dependency cspell to v8.15.1 (#230) @renovate\\n- chore: Fix e2e tests (#229) @dawidwisn\\n</details>\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.7.0","tag_name":"v0.7.0","target_commitish":"refs/pull/228/merge"}`,
request: {}
},
event: {
id: '11818928524',
name: 'pull_request',
payload: {
action: 'synchron
|
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: '11818928524',
name: 'pull_request',
payload: {
action: 'synchronize',
after: '714adfa349cfd8a7dc736bf15b539e8d95e6416f',
before: '3dd0b3703eef3c15a46123833801ee292f3467a9',
number: 228,
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/sloctl/issues/228/comments'
},
commits: {
href: 'https://api.github.com/repos/nobl9/sloctl/pulls/228/commits'
},
html: { href: 'https://github.com/nobl9/sloctl/pull/228' },
issue: {
href: 'https://api.github.com/repos/nobl9/sloctl/issues/228'
},
review_comment: {
href: 'https://api.github.com/repos/nobl9/sloctl/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/nobl9/sloctl/pulls/228/comments'
},
self: {
href: 'https://api.github.com/repos/nobl9/sloctl/pulls/228'
},
statuses: {
href: 'https://api.github.com/repos/nobl9/sloctl/statuses/714adfa349cfd8a7dc736bf15b539e8d95e6416f'
}
},
active_lock_reason: null,
additions: 726,
assignee: null,
assignees: [],
author_association: 'NONE',
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/sloctl/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/nobl9/sloctl/assignees{/user}',
blobs_url: 'https://api.github.com/repos/nobl9/sloctl/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/nobl9/sloctl/branches{/branch}',
clone_url: 'https://github.com/nobl9/sloctl.git',
collaborators_url: 'https://api.github.com/repos/nobl9/sloctl/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/nobl9/sloctl/comments{/number}',
commits_url: 'https://api.github.com/repos/nobl9/sloctl/commits{/sha}',
compare_url: 'https://api.github.com/repos/nobl9/sloctl/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/nobl9/sloctl/contents/{+path}',
contributors_url: 'https://api.github.com/repos/nobl9/sloctl/contributors',
created_at: '2021-02-02T19:57:29Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/nobl9/sloctl/deployments',
description: 'A command line tool to cast SLO spells',
disabled: false,
|