Skip to content

fix: Double quoted JSON handling #875

fix: Double quoted JSON handling

fix: Double quoted JSON handling #875

Triggered via pull request June 27, 2024 05:41
Status Success
Total duration 15s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
6s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '9691311783', status: 422, response: { url: 'https://api.github.com/repos/nobl9/nobl9-go/releases/158419054', 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, 27 Jun 2024 05:42:01 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': '2489:1848:89806E:EEB805:667CFBA9', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4993', 'x-ratelimit-reset': '1719470518', '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', status: '422' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/nobl9/nobl9-go/releases/158419054', 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: PC-12940/PC-12941 Allow to configure budget drop condition type (#423) @nobl9-adam-szymanski\\n- feat: PC-13027 PC-13029 Add Azure Monitor managed service for Prometh… (#437) @dawidwisn\\n\\n## 🐞 Bug Fixes\\n\\n- fix: composite slo name and displayName validation [PC-12850] (#445) @nikodemrafalski\\n\\n## 🧰 Maintenance\\n\\n<details>\\n<summary>31 changes</summary>\\n\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.9 (#472) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.8 (#470) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.7 (#469) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.6 (#468) @renovate\\n- chore: Update dependency cspell to v8.9.1 (#467) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.5 (#465) @renovate\\n- chore: Update dependency cspell to v8.9.0 (#466) @renovate\\n- chore: Change objects print to encode (#463) @nieomylnieja\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.3 (#464) @renovate\\n- chore: Move object-impl generator to cmd (#462) @nieomylnieja\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.2 (#461) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.1 (#460) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.54.0 (#459) @renovate\\n- chore: Update module github.com/aws/aws-sdk-go to v1.53.21 (#457) @renovate\\n- chore: Add no config file (#456) @nieomylnieja\\n- chore: Add end-to-end Project and Service tests (#454) @nieomylnieja\\n- chore: Update module github.com/aws/aws-sdk-go to v1.53.20 (#455) @renovate\\n- chore: Update depen
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: '9691311783', name: 'pull_request', payload: { action: 'synchronize', after: '0317dc3ceb2aa765f5731099f44b247a3515b99d', before: '197512ea3e7f712dcb0fcf5418258fa329c20cb4', number: 471, 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/471/comments' }, commits: { href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/471/commits' }, html: { href: 'https://github.com/nobl9/nobl9-go/pull/471' }, issue: { href: 'https://api.github.com/repos/nobl9/nobl9-go/issues/471' }, 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/471/comments' }, self: { href: 'https://api.github.com/repos/nobl9/nobl9-go/pulls/471' }, statuses: { href: 'https://api.github.com/repos/nobl9/nobl9-go/statuses/0317dc3ceb2aa765f5731099f44b247a3515b99d' } }, active_lock_reason: null, additions: 43, 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!',