Skip to content

fix: git chosen requires tag for checkout #447

fix: git chosen requires tag for checkout

fix: git chosen requires tag for checkout #447

Triggered via pull request March 15, 2024 11:41
Status Success
Total duration 12s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
4s
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: '8295625836', status: 422, response: { url: 'https://api.github.com/repos/lunarway/shuttle/releases/139852679', 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: 'Fri, 15 Mar 2024 11:42:03 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': 'A509:51C1:61BF21:BED11C:65F4340B', 'x-ratelimit-limit': '15000', 'x-ratelimit-remaining': '14990', 'x-ratelimit-reset': '1710506521', '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#update-a-release' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/lunarway/shuttle/releases/139852679', 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: '{"body":"## Changes\\n\\n## Dependency Updates\\n\\n* chore(deps): update golang docker tag to v1.22.1 (#230) @lunar-renovate\\n* chore(deps): update golang docker tag to v1.22.0 (#228) @lunar-renovate\\n* chore(deps): update release-drafter/release-drafter action to v6 (#227) @lunar-renovate\\n\\n**Full Changelog**: https://github.com/lunarway/shuttle/compare/v0.23.0...v0.23.1\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v0.23.1","tag_name":"v0.23.1","target_commitish":"refs/pull/231/merge"}', request: { retryCount: 1 } }, event: { id: '8295625836', name: 'pull_request', payload: { action: 'synchronize', after: 'd296317cdb92f2d3398bfc8c4850366c2900d959', before: 'e4449d5723e780b2ac9113006a3db91ce5ce2176', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/66042?v=4', created_at: '2023-08-15T07:41:55Z', description: 'Make the most of your money', html_url: 'https://github.com/enterprises/lunar', id: 66042, name: 'Lunar', node_id: 'E_kgDOAAEB-g', slug: 'lunar', updated_at: '2023-08-25T15:51:52Z', website_url: 'https://lunar.app' }, number: 231, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/29371397?v=4', description: 'Make the most of your money', events_url: 'https://api.github.com/orgs/lunarway/events', hooks_url: 'https://api.github.com/orgs/lunarway/hooks', id: 29371397, issues_url: 'https://api.github.com/orgs/lunarway/issues', login: 'lunarway', members_url: 'https://api.github.com/orgs/lunarway/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjI5MzcxMzk3', public_members_url: 'https:/
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: '8295625836', name: 'pull_request', payload: { action: 'synchronize', after: 'd296317cdb92f2d3398bfc8c4850366c2900d959', before: 'e4449d5723e780b2ac9113006a3db91ce5ce2176', enterprise: { avatar_url: 'https://avatars.githubusercontent.com/b/66042?v=4', created_at: '2023-08-15T07:41:55Z', description: 'Make the most of your money', html_url: 'https://github.com/enterprises/lunar', id: 66042, name: 'Lunar', node_id: 'E_kgDOAAEB-g', slug: 'lunar', updated_at: '2023-08-25T15:51:52Z', website_url: 'https://lunar.app' }, number: 231, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/29371397?v=4', description: 'Make the most of your money', events_url: 'https://api.github.com/orgs/lunarway/events', hooks_url: 'https://api.github.com/orgs/lunarway/hooks', id: 29371397, issues_url: 'https://api.github.com/orgs/lunarway/issues', login: 'lunarway', members_url: 'https://api.github.com/orgs/lunarway/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjI5MzcxMzk3', public_members_url: 'https://api.github.com/orgs/lunarway/public_members{/member}', repos_url: 'https://api.github.com/orgs/lunarway/repos', url: 'https://api.github.com/orgs/lunarway' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/lunarway/shuttle/issues/231/comments' }, commits: { href: 'https://api.github.com/repos/lunarway/shuttle/pulls/231/commits' }, html: { href: 'https://github.com/lunarway/shuttle/pull/231' }, issue: { href: 'https://api.github.com/repos/lunarway/shuttle/issues/231' }, review_comment: { href: 'https://api.github.com/repos/lunarway/shuttle/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/lunarway/shuttle/pulls/231/comments' }, self: { href: 'https://api.github.com/repos/lunarway/shuttle/pulls/231' }, statuses: { href: 'https://api.github.com/repos/lunarway/shuttle/statuses/d296317cdb92f2d3398bfc8c4850366c2900d959' } }, active_lock_reason: null, additions: 13, assignee: null, assignees: [], author_association: 'CONTRIBUTOR', auto_merge: { commit_message: 'This is because if we accept values it will not be interpreted, and for git it means falling back on head, which is usually master\r\n' + '\r\n' + "We'd rather want it to fail instead\r\n" + '\r\n' + 'Signed-off-by: Kasper J. Hermansen <contact@kjuulh.io>', commit_title: 'fix: git chosen requires tag for checkout (#231)', enabled_by: { avatar_url: 'https://avatars.githubusercontent.com/u/26280046?v=4', events_url: 'https://api.github.com/users/kjuulh/events{/privacy}', followers_url: 'https://api.github.com/users/kjuulh/followers', following_url: 'https://api.github.com/users/kjuulh/following{/other_user}', gists_url: 'https://api.github.com/users/kjuulh/gists{/gist_id}', gravatar_id: '', html_url: 'https://github.com/kjuulh', id: 26280046, login: 'kjuulh', node_id: 'MDQ6VXNlcjI2MjgwMDQ2', organizations_url: 'https://api.github.com/users/kjuulh/orgs',