Skip to content

Fix release

Fix release #9

Triggered via pull request November 3, 2023 15:50
Status Success
Total duration 15s
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: '6747404837', status: 422, response: { url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/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: 'Fri, 03 Nov 2023 15:50:38 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': '9B45:0E59:2DE19:5D5E8:654516CE', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '992', 'x-ratelimit-reset': '1699030235', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '8', '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/paul-gilber/demoapp-frontend/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/pull/14/merge","name":"v0.1.0 📢","tag_name":"v0.1.0","body":"## Changes\\n\\n- Bump minimatch and recursive-readdir @dependabot (#12)\\n- Bump dns-packet from 5.3.1 to 5.6.1 @dependabot (#1)\\n- Bump word-wrap from 1.2.3 to 1.2.5 @dependabot (#2)\\n- Bump json5 from 1.0.1 to 1.0.2 @dependabot (#3)\\n- Bump loader-utils from 2.0.2 to 2.0.4 @dependabot (#11)\\n- Bump decode-uri-component from 0.2.0 to 0.2.2 @dependabot (#10)\\n- Bump tough-cookie from 4.0.0 to 4.1.3 @dependabot (#4)\\n- Bump semver from 6.3.0 to 6.3.1 @dependabot (#5)\\n- Bump @babel/traverse from 7.17.10 to 7.23.2 @dependabot (#6)\\n- Bump webpack from 5.72.1 to 5.89.0 @dependabot (#7)\\n- setup visual studio code dev container @paul-gilber (#9)\\n- Create dependabot.yml @paul-gilber (#8)\\n\\n## 🧰 Maintenance\\n\\n- added github workflows @paul-gilber (#13)\\n\\n## Install from the command line\\n```sh\\nDEMOAPP_BACKEND_IMAGE=\\"ghcr.io/paul-gilber/demoapp-frontend:v0.1.0\\" docker compose --project-directory deploy/docker-compose up\\n```\\n","draft":true,"prerelease":false,"make_latest":"true"}', request: {} }, event: { id: '6747404837', name: 'pull_request', payload: { action: 'opened', number: 14, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/issues/14/comments' }, commits: { href: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/pulls/14/commits' }, html: { href: 'https://github.com/paul-gilber/demoapp-frontend/pull/14' }, issue: { href: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/issues/14' }, review_comment
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21 at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18) { name: 'AggregateError', event: { id: '6747404837', name: 'pull_request', payload: { action: 'opened', number: 14, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/issues/14/comments' }, commits: { href: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/pulls/14/commits' }, html: { href: 'https://github.com/paul-gilber/demoapp-frontend/pull/14' }, issue: { href: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/issues/14' }, review_comment: { href: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/pulls/14/comments' }, self: { href: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/pulls/14' }, statuses: { href: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/statuses/ce2ba529b081bd29a2a6e0da745f9f21c2804c94' } }, active_lock_reason: null, additions: 7, assignee: null, assignees: [], author_association: 'OWNER', auto_merge: null, base: { label: 'paul-gilber:main', ref: 'main', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: true, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: true, archive_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/assignees{/user}', blobs_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/branches{/branch}', clone_url: 'https://github.com/paul-gilber/demoapp-frontend.git', collaborators_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/comments{/number}', commits_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/commits{/sha}', compare_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/contents/{+path}', contributors_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/contributors', created_at: '2023-10-08T06:41:51Z', default_branch: 'main', delete_branch_on_merge: true, deployments_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/deployments', description: 'Frontend using React with GitHub Actions Workflows', disabled: false, downloads_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/downloads', events_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/events', fork: true, forks: 0, forks_count: 0, forks_url: 'https://api.github.com/repos/paul-gilber/demoapp-frontend/forks', full_name: 'paul-gilber/demoapp-frontend', git_commits_url: 'https://api.github.com/repos/paul-gi