Skip to content

Update to using Node20 #245

Update to using Node20

Update to using Node20 #245

Triggered via pull request January 31, 2024 08:56
Status Success
Total duration 13s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
4s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '7723495700', status: 422, response: { url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/releases/85494350', 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: 'Wed, 31 Jan 2024 08:56:45 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': '18C6:67F1:1E00DB:3DADB0:65BA0B4D', 'x-ratelimit-limit': '1000', 'x-ratelimit-remaining': '954', 'x-ratelimit-reset': '1706694630', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '46', '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/8BitJonny/gh-get-current-pr/releases/85494350', 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: '{"body":"- docs(readme): correct step id (#261)\\n\\n## 🤖 Dependency Updates\\n\\n<details>\\n<summary>15 changes</summary>\\n\\n- build(deps-dev): bump prettier from 2.8.1 to 2.8.8 (#251)\\n- build(deps-dev): bump @vercel/ncc from 0.36.0 to 0.36.1 (#228)\\n- build(deps-dev): bump @types/node from 18.13.0 to 18.16.0 (#252)\\n- build(deps-dev): bump eslint-plugin-github from 4.6.0 to 4.7.0 (#244)\\n- build(deps-dev): bump typescript from 4.9.3 to 4.9.5 (#222)\\n- build(deps-dev): bump @types/node from 18.11.13 to 18.13.0 (#225)\\n- build(deps): bump json5 from 1.0.1 to 1.0.2 (#215)\\n- build(deps-dev): bump eslint-plugin-jest from 27.1.6 to 27.2.1 (#217)\\n- build(deps-dev): bump eslint from 8.29.0 to 8.34.0 (#226)\\n- build(deps-dev): bump @typescript-eslint/parser from 5.46.1 to 5.52.0 (#227)\\n- build(deps-dev): bump @typescript-eslint/parser from 5.45.1 to 5.46.1 (#200)\\n- build(deps-dev): bump eslint-plugin-github from 4.4.1 to 4.6.0 (#201)\\n- build(deps-dev): bump @vercel/ncc from 0.34.0 to 0.36.0 (#199)\\n- build(deps-dev): bump prettier from 2.8.0 to 2.8.1 (#202)\\n- build(deps-dev): bump @types/node from 18.11.11 to 18.11.13 (#203)\\n</details>\\n\\n**Full Changelog**: https://github.com/8BitJonny/gh-get-current-pr/compare/2.2.0...v2.2.1\\n\\n**Contributors**: @8BitJonny, @dargmuesli, @dependabot and @dependabot[bot]\\n","draft":true,"prerelease":false,"make_latest":"true","name":"v2.2.1","tag_name":"2.2.1","target_commitish":"refs/pull/295/merge"}', request: {} }, event: { id: '7723495700', name: 'pull_request', payload: { action: 'synchronize', after: '6424458339c60058db4971e77469d62c79cfc8f5', before: '4f40415dab0242feb17f297ca1d51baa07b8c628', number: 295, pull_request: { _link
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: '7723495700', name: 'pull_request', payload: { action: 'synchronize', after: '6424458339c60058db4971e77469d62c79cfc8f5', before: '4f40415dab0242feb17f297ca1d51baa07b8c628', number: 295, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/issues/295/comments' }, commits: { href: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/pulls/295/commits' }, html: { href: 'https://github.com/8BitJonny/gh-get-current-pr/pull/295' }, issue: { href: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/issues/295' }, review_comment: { href: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/pulls/295/comments' }, self: { href: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/pulls/295' }, statuses: { href: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/statuses/6424458339c60058db4971e77469d62c79cfc8f5' } }, active_lock_reason: null, additions: 8, assignee: null, assignees: [], author_association: 'OWNER', auto_merge: null, base: { label: '8BitJonny:master', ref: 'master', repo: { allow_auto_merge: false, allow_forking: true, allow_merge_commit: true, allow_rebase_merge: true, allow_squash_merge: true, allow_update_branch: false, archive_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/{archive_format}{/ref}', archived: false, assignees_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/assignees{/user}', blobs_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/git/blobs{/sha}', branches_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/branches{/branch}', clone_url: 'https://github.com/8BitJonny/gh-get-current-pr.git', collaborators_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/collaborators{/collaborator}', comments_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/comments{/number}', commits_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/commits{/sha}', compare_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/compare/{base}...{head}', contents_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/contents/{+path}', contributors_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/contributors', created_at: '2020-03-22T16:33:30Z', default_branch: 'master', delete_branch_on_merge: true, deployments_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/deployments', description: 'Github Action for getting all the details about the current Pull Request if the commit is part of one', disabled: false, downloads_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/downloads', events_url: 'https://api.github.com/repos/8BitJonny/gh-get-current-pr/events', fork: false, forks: 25, forks_count: 25, forks_url: 'https://api.github.com/
update_release_draft
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.