Skip to content

[vrotsc] (#301) Improve error messages for Policy Template, Workflow and Configuration files with incorrect extensions #517

[vrotsc] (#301) Improve error messages for Policy Template, Workflow and Configuration files with incorrect extensions

[vrotsc] (#301) Improve error messages for Policy Template, Workflow and Configuration files with incorrect extensions #517

Triggered via pull request August 29, 2024 14:24
Status Success
Total duration 21s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
9s
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: '10616990665', status: 422, response: { url: 'https://api.github.com/repos/vmware/build-tools-for-vmware-aria/releases/168661121', 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, 29 Aug 2024 14:24:26 GMT', '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': '58C0:9572A:6A2EBC2:6AC8C5C:66D0849A', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14980', 'x-ratelimit-reset': '1724942216', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '20', '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/vmware/build-tools-for-vmware-aria/releases/168661121', 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* [docs] (#388) Extend polyglot archetype documentation by @Michaelpalacce in #389\\n\\n## 🚀 Features\\n\\n* [vrotsc-types] (#347) Extend Aria plugin types definitions by @unbreakabl3 in #395\\n* [vrotsc] (#383) Improvements to Item presentation structure in Workflow Schema by @bcpmihail in #387\\n* [all] (#330) Support for Java version 21 LTS by @Tchoui in #386\\n* [maven] (#379) Exclude license headers generation for javascript and typescript test files by @VenelinBakalov in #380\\n* [vrotsc-types] (#347) Extend Aria plugin types definitions by @unbreakabl3 in #375\\n\\n## 🐛 Bug Fixes\\n\\n* [vrotsc-types] (#347) Extend Aria plugin types definitions by @unbreakabl3 in #395\\n* [vrotsc] (#385) Fix TS-vRA archetype sample policy definition and re-add v2 policy attributes by @bcpmihail in #390\\n* [ecmascript] (#311) Fix for Unknown error on VROES.import from a missing/invalid module path by @bcpmihail in #345\\n* [maven] (#379) Exclude license headers generation for javascript and typescript test files by @VenelinBakalov in #380\\n\\n## ⬆️ Dependencies\\n\\n* build(deps): bump braces and gulp in /typescript/vro-scripting-api by @dependabot in #378\\n* build(deps): bump braces, gulp and gulp-cli in /typescript/vropkg by @dependabot in #377\\n* build(deps): bump braces and gulp in /typescript/vrotest by @dependabot in #374\\n* build(deps): bump braces and gulp in /typescript/npmconv by @dependabot in #376\\n\\n---\\nFor in-depth feature set review refer to the following document: https://github.com/vmware/build-tools-for-vmware-aria/blob/main/docs/versions/v2.42.0/Release.md\\n\\n**Full Changelog**: https://github.com/vmware/build-tools-for-vmware-aria/compare/v2.41.0...v2.4
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: '10616990665', name: 'pull_request', payload: { action: 'synchronize', after: '4d02a07164d238c8533e9b050e2aeaa179621339', before: '57409eaeeb69f5d2c46c03285836041ee09e1aed', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/6?v=4', created_at: '2018-06-22T12:24:52Z', description: 'Broadcom - GHC Unified Business', html_url: 'https://github.com/enterprises/broadcom', id: 6, name: 'Broadcom Inc.', node_id: 'MDEwOkVudGVycHJpc2U2', slug: 'broadcom', updated_at: '2024-08-19T21:29:43Z', website_url: '' }, number: 399, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/473334?v=4', description: '', events_url: 'https://api.github.com/orgs/vmware/events', hooks_url: 'https://api.github.com/orgs/vmware/hooks', id: 473334, issues_url: 'https://api.github.com/orgs/vmware/issues', login: 'vmware', members_url: 'https://api.github.com/orgs/vmware/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjQ3MzMzNA==', public_members_url: 'https://api.github.com/orgs/vmware/public_members{/member}', repos_url: 'https://api.github.com/orgs/vmware/repos', url: 'https://api.github.com/orgs/vmware' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/vmware/build-tools-for-vmware-aria/issues/399/comments' }, commits: { href: 'https://api.github.com/repos/vmware/build-tools-for-vmware-aria/pulls/399/commits' }, html: { href: 'https://github.com/vmware/build-tools-for-vmware-aria/pull/399' }, issue: { href: 'https://api.github.com/repos/vmware/build-tools-for-vmware-aria/issues/399' }, review_comment: { href: 'https://api.github.com/repos/vmware/build-tools-for-vmware-aria/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/vmware/build-tools-for-vmware-aria/pulls/399/comments' }, self: { href: 'https://api.github.com/repos/vmware/build-tools-for-vmware-aria/pulls/399' }, statuses: { href: 'https://api.github.com/repos/vmware/build-tools-for-vmware-aria/statuses/4d02a07164d238c8533e9b050e2aeaa179621339' } }, active_lock_reason: null, additions: 117, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/175003011?v=4', events_url: 'https://api.github.com/users/bcpmihail/events{/privacy}', followers_url: 'https://api.github.com/users/bcpmihail/followers', following_url: 'https://api.github.com/users/bcpmihail/following{/other_user}', gists_url: 'https://api.github.com/users/bcpmihail/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/bcpmihail', id: 175003011, login: 'bcpmihail', node_id: 'U_kgDOCm5Vgw', organizations_url: 'https://api.github.com/users/bcpmihail/orgs', received_events_url: 'https://api.github.com/users/bcpmihail/received_events', repos_url: 'https://api.github.com/users/bcpmihail/repos', site_admin: false, starred_url: 'https://api.github.com/users/bcpmihail/starred{/owner}{/repo}', subscriptions_url: 'https://api.github.com/users/bcpmihail/subscriptions', type: 'User', url: 'https://api