Skip to content

Fix Release Drafter CI job #60

Fix Release Drafter CI job

Fix Release Drafter CI job #60

Triggered via pull request August 12, 2024 05:14
Status Success
Total duration 9m 47s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
5s
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: '10346281044', status: 422, response: { url: 'https://api.github.com/repos/zio/zio-http/releases', 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: 'Mon, 12 Aug 2024 05:24:28 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; contents=write,workflows=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': 'DCA1:331A86:52578A:99146E:66B99C8C', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4785', 'x-ratelimit-reset': '1723442725', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '215', '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#create-a-release', status: '422' } }, request: { method: 'POST', url: 'https://api.github.com/repos/zio/zio-http/releases', 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: '{"target_commitish":"refs/pull/3014/merge","name":"v3.0.0 🌈","tag_name":"v3.0.0","body":"## Changes\\n\\n- Update dependencies @kyri-petrou (#3010)\\n- Fix uuid SegmentCodec matches @narma (#3007)\\n- test for #2652 (issue already fixed in #2935) @hochgi (#3004)\\n- Fix sbt module compilation issue when using IntelliJ IDE @kyri-petrou (#2970)\\n- ServerSentEvents client support (#2953) @987Nabil (#2987)\\n- Schema based query codecs including validation (#2937) @987Nabil (#2991)\\n- Tags for Endpoint and OpenAPI generation (#2716) @987Nabil (#2930)\\n- fixes #2963: PartialBooleanAttribute (support no value) @jgoday (#2973)\\n- Generic ServerSentEvents (#2952) @987Nabil (#2985)\\n- Fix fromZSchemaMulti @pawelsadlo (#2996)\\n- just fail instead of throwing if a relative url is provided @jgulotta (#2995)\\n- Remove deprecated App (#2984) @987Nabil (#2990)\\n- Body content type @eyalfa (#2969)\\n- Handle content new lines in `fromFormAST` (#2976) @987Nabil (#2983)\\n- Allow nesting `Routes` with unhandled errors (#2934) @987Nabil (#2986)\\n- Encode SSE based on HttpContentCodec (#2695) @987Nabil (#2951)\\n- Reduce verbosity of test suites @kyri-petrou (#2979)\\n- Fix WebSockets when request streaming is enabled @kyri-petrou (#2978)\\n- Fixes issue #2971 @gregor-rayman (#2972)\\n- Multi-value segments for PathCodecs @987Nabil (#2959)\\n- Streaming response body content type @eyalfa (#2967)\\n- Fix application shutdown issue when `Server#install` is not called @kyri-petrou (#2966)\\n- Reorg driver layers @eyalfa (#2936)\\n- Override URL\'s toString with encode @guersam (#2939)\\n- Use `Exit.succeed` when body extraction is side-effect free @kyri-petrou (#2938)\\n\\n## 🐛 Bug Fixes\\n\\n- Fix doc typo @guizmaii (#2989)\\n\\n## 🧰 Maintenance\\n\\
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v6.0.0/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.0.0/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '10346281044', name: 'pull_request', payload: { action: 'opened', number: 3014, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/49655448?v=4', description: 'ZIO — Real World Functional Programming', events_url: 'https://api.github.com/orgs/zio/events', hooks_url: 'https://api.github.com/orgs/zio/hooks', id: 49655448, issues_url: 'https://api.github.com/orgs/zio/issues', login: 'zio', members_url: 'https://api.github.com/orgs/zio/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjQ5NjU1NDQ4', public_members_url: 'https://api.github.com/orgs/zio/public_members{/member}', repos_url: 'https://api.github.com/orgs/zio/repos', url: 'https://api.github.com/orgs/zio' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/zio/zio-http/issues/3014/comments' }, commits: { href: 'https://api.github.com/repos/zio/zio-http/pulls/3014/commits' }, html: { href: 'https://github.com/zio/zio-http/pull/3014' }, issue: { href: 'https://api.github.com/repos/zio/zio-http/issues/3014' }, review_comment: { href: 'https://api.github.com/repos/zio/zio-http/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/zio/zio-http/pulls/3014/comments' }, self: { href: 'https://api.github.com/repos/zio/zio-http/pulls/3014' }, statuses: { href: 'https://api.github.com/repos/zio/zio-http/statuses/e09c0cb8a299a52d323eae67f0a83db2b5b04dff' } }, active_lock_reason: null, additions: 26, assignee: null, assignees: [], author_association: 'MEMBER', auto_merge: null, base: { label: 'zio:main', ref: 'main', repo: { allow_auto_merge: true, allow_forking: true, allow_merge_commit: false, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: true, archive_url: 'https://api.github.com/repos/zio/zio-http/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/zio/zio-http/assignees{/user}', blobs_url: 'https://api.github.com/repos/zio/zio-http/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/zio/zio-http/branches{/branch}', clone_url: 'https://github.com/zio/zio-http.git', collaborators_url: 'https://api.github.com/repos/zio/zio-http/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/zio/zio-http/comments{/number}', commits_url: 'https://api.github.com/repos/zio/zio-http/commits{/sha}', compare_url: 'https://api.github.com/repos/zio/zio-http/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/zio/zio-http/contents/{+path}', contributors_url: 'https://api.github.com/repos/zio/zio-http/contributors', created_at: '2021-02-17T17:16:23Z', default_branch: 'main', delete_branch_on_merge: true, deployments_url: 'https://api.github.com/repos/zio/zio-http/deployments', description: 'A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers', disabled: false, downloa