Skip to content

Fix release drafter template #307

Fix release drafter template

Fix release drafter template #307

Triggered via push September 10, 2024 13:33
Status Success
Total duration 15s
Artifacts
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":"custom","field":"tag_name","message":"tag_name is not a valid tag"}, {"resource":"Release","code":"custom","field":"tag_name","message":"tag_name is not well-formed"}, {"resource":"Release","code":"custom","message":"Published releases must have a valid tag"} { name: 'HttpError', id: '10793590791', status: 422, response: { url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/releases/174338021', 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': '431', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Tue, 10 Sep 2024 13:33:52 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': '7CC5:1A7D2:1527F612:155A7A5E:66E04AC0', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4974', 'x-ratelimit-reset': '1725977602', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '26', 'x-xss-protection': '0' }, data: { message: 'Validation Failed', errors: [ { resource: 'Release', code: 'custom', field: 'tag_name', message: 'tag_name is not a valid tag' }, { resource: 'Release', code: 'custom', field: 'tag_name', message: 'tag_name is not well-formed' }, { resource: 'Release', code: 'custom', message: 'Published releases must have a valid tag' } ], documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release', status: '422' } }, request: { method: 'PATCH', url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/releases/174338021', 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":"## Changes\\n## Maintenance\\n\\n- Update GitHub Actions by @AdamJ in #277\\n\\n**Contributors**\\n@AdamJ\\n\\n**Previously:** [v7.23.1](https://github.com/AdamJ/AdamJ.github.io/releases/tag/v7.23.1)\\n\\n[All Tags](https://github.com/AdamJ/AdamJ.github.io/tags)\\n[All Releases](https://github.com/AdamJ/AdamJ.github.io/releases)\\n","draft":false,"prerelease":false,"make_latest":"true","name":"'v7.23.2'\\n\\n**Draft for release**\\n$CHANGES\\n","tag_name":"'v7.23.2'\\n\\n**Draft for release**\\n$CHANGES\\n","target_commitish":"refs/heads/main"}`, request: {} }, event: { id: '10793590791', name: 'push', payload: { after: 'd3359fb41326778c2bb2a6be5f760e7ad99e44b9', base_ref: null, before: '53ca8e22c3ee33cf46d3ea8a8b70dd50ed8f59c4', commits: [ { author: { email: '[email protected]', name: 'Adam Jolicoeur', username: 'AdamJ' }, committer: { email: '[email protected]', name: 'Adam Jolicoeur', username: 'AdamJ' }, distinct: true, id: 'd3359fb41326778c2bb2a6be5f760e7ad99
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"custom","field":"tag_name","message":"tag_name is not a valid tag"}, {"resource":"Release","code":"custom","field":"tag_name","message":"tag_name is not well-formed"}, {"resource":"Release","code":"custom","message":"Published releases must have a valid tag"} 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: '10793590791', name: 'push', payload: { after: 'd3359fb41326778c2bb2a6be5f760e7ad99e44b9', base_ref: null, before: '53ca8e22c3ee33cf46d3ea8a8b70dd50ed8f59c4', commits: [ { author: { email: '[email protected]', name: 'Adam Jolicoeur', username: 'AdamJ' }, committer: { email: '[email protected]', name: 'Adam Jolicoeur', username: 'AdamJ' }, distinct: true, id: 'd3359fb41326778c2bb2a6be5f760e7ad99e44b9', message: 'Fix release drafter template', timestamp: '2024-09-10T09:33:35-04:00', tree_id: '6ecaabe7ef083ec4f2fa42c81e9187d7b27a7029', url: 'https://github.com/AdamJ/AdamJ.github.io/commit/d3359fb41326778c2bb2a6be5f760e7ad99e44b9' } ], compare: 'https://github.com/AdamJ/AdamJ.github.io/compare/53ca8e22c3ee...d3359fb41326', created: false, deleted: false, forced: false, head_commit: { author: { email: '[email protected]', name: 'Adam Jolicoeur', username: 'AdamJ' }, committer: { email: '[email protected]', name: 'Adam Jolicoeur', username: 'AdamJ' }, distinct: true, id: 'd3359fb41326778c2bb2a6be5f760e7ad99e44b9', message: 'Fix release drafter template', timestamp: '2024-09-10T09:33:35-04:00', tree_id: '6ecaabe7ef083ec4f2fa42c81e9187d7b27a7029', url: 'https://github.com/AdamJ/AdamJ.github.io/commit/d3359fb41326778c2bb2a6be5f760e7ad99e44b9' }, pusher: { email: '[email protected]', name: 'AdamJ' }, ref: 'refs/heads/main', repository: { allow_forking: true, archive_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/assignees{/user}', blobs_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/branches{/branch}', clone_url: 'https://github.com/AdamJ/AdamJ.github.io.git', collaborators_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/comments{/number}', commits_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/commits{/sha}', compare_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/contents/{+path}', contributors_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/contributors', created_at: 1479240172, default_branch: 'main', deployments_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/deployments', description: 'My portfolio site.', disabled: false, downloads_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/downloads', events_url: 'https://api.github.com/repos/AdamJ/AdamJ.github.io/events', fork: false, forks: 1, forks_count: 1, forks_url: 'https://api.github.com/repos/AdamJ/AdamJ.gith