Skip to content

fix configuration of release drafter #6

fix configuration of release drafter

fix configuration of release drafter #6

Triggered via pull request March 7, 2024 20:23
Status Success
Total duration 19s
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: '8194352180', status: 422, response: { url: 'https://api.github.com/repos/BigMichi1/parent/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': '195', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Thu, 07 Mar 2024 20:24:02 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': 'DC85:AD48A:560644:A1B98F:65EA2261', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4990', 'x-ratelimit-reset': '1709846493', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '10', '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' } }, request: { method: 'POST', url: 'https://api.github.com/repos/BigMichi1/parent/releases', 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: '{"target_commitish":"refs/pull/3/merge","name":"v0.1.0 🌈","tag_name":"v0.1.0","body":"## Changes\\n\\n\\n","draft":true,"prerelease":false,"make_latest":"true"}', request: {} }, event: { id: '8194352180', name: 'pull_request', payload: { action: 'synchronize', after: 'c02b7965a8ad06ed5f5e24f274e5f3630f70061f', before: 'e32850137c35b5a16cd69739f98e58afe26f7172', number: 3, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/BigMichi1/parent/issues/3/comments' }, commits: { href: 'https://api.github.com/repos/BigMichi1/parent/pulls/3/commits' }, html: { href: 'https://github.com/BigMichi1/parent/pull/3' }, issue: { href: 'https://api.github.com/repos/BigMichi1/parent/issues/3' }, review_comment: { href: 'https://api.github.com/repos/BigMichi1/parent/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/BigMichi1/parent/pulls/3/comments' }, self: { href: 'https://api.github.com/repos/BigMichi1/parent/pulls/3' }, statuses: { href: 'https://api.github.com/repos/BigMichi1/parent/statuses/c02b7965a8ad06ed5f5e24f274e5f3630f70061f' } }, active_lock_reason: null, additions: 8, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/91786?v=4', events_url: 'https://api.github.com/users/BigMichi1/events{/privacy}', followers_url: 'https://api.github.com/users/BigMichi1/followers', following_url: 'https://api.github.com/users/BigMichi1/following{/other_
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/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/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '8194352180', name: 'pull_request', payload: { action: 'synchronize', after: 'c02b7965a8ad06ed5f5e24f274e5f3630f70061f', before: 'e32850137c35b5a16cd69739f98e58afe26f7172', number: 3, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/BigMichi1/parent/issues/3/comments' }, commits: { href: 'https://api.github.com/repos/BigMichi1/parent/pulls/3/commits' }, html: { href: 'https://github.com/BigMichi1/parent/pull/3' }, issue: { href: 'https://api.github.com/repos/BigMichi1/parent/issues/3' }, review_comment: { href: 'https://api.github.com/repos/BigMichi1/parent/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/BigMichi1/parent/pulls/3/comments' }, self: { href: 'https://api.github.com/repos/BigMichi1/parent/pulls/3' }, statuses: { href: 'https://api.github.com/repos/BigMichi1/parent/statuses/c02b7965a8ad06ed5f5e24f274e5f3630f70061f' } }, active_lock_reason: null, additions: 8, assignee: { avatar_url: 'https://avatars.githubusercontent.com/u/91786?v=4', events_url: 'https://api.github.com/users/BigMichi1/events{/privacy}', followers_url: 'https://api.github.com/users/BigMichi1/followers', following_url: 'https://api.github.com/users/BigMichi1/following{/other_user}', gists_url: 'https://api.github.com/users/BigMichi1/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/BigMichi1', id: 91786, login: 'BigMichi1', node_id: 'MDQ6VXNlcjkxNzg2', organizations_url: 'https://api.github.com/users/BigMichi1/orgs', received_events_url: 'https://api.github.com/users/BigMichi1/received_events', repos_url: 'https://api.github.com/users/BigMichi1/repos', site_admin: false, starred_url: 'https://api.github.com/users/BigMichi1/starred{/owner}{/repo}', subscriptions_url: 'https://api.github.com/users/BigMichi1/subscriptions', type: 'User', url: 'https://api.github.com/users/BigMichi1' }, assignees: [ { avatar_url: 'https://avatars.githubusercontent.com/u/91786?v=4', events_url: 'https://api.github.com/users/BigMichi1/events{/privacy}', followers_url: 'https://api.github.com/users/BigMichi1/followers', following_url: 'https://api.github.com/users/BigMichi1/following{/other_user}', gists_url: 'https://api.github.com/users/BigMichi1/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/BigMichi1', id: 91786, login: 'BigMichi1', node_id: 'MDQ6VXNlcjkxNzg2', organizations_url: 'https://api.github.com/users/BigMichi1/orgs', received_events_url: 'https://api.github.com/users/BigMichi1/received_events', repos_url: 'https://api.github.com/users/BigMichi1/repos', site_admin: false, starred_url: 'https://api.github.com/users/BigMichi1/starred{/owner}{/repo}', subscriptions_url: 'https://api.github.com/users/BigMichi1/subscriptions', type: 'User', url: 'https://api.github.com/users/BigMichi1' } ], author_association: 'OWN