Fix Async initialisation issues by making getVersion async #467
release-drafter.yml
on: pull_request
Update release draft
5s
Annotations
2 errors and 1 warning
Update release draft
Data doesn't contain `nodes` field. Make sure the `paginatePath` is set to the field you wish to paginate and that the query includes the `nodes` field.
{
name: 'event',
id: '10292644317',
event: {
id: '10292644317',
name: 'pull_request',
payload: {
action: 'opened',
number: 246,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/issues/246/comments'
},
commits: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/pulls/246/commits'
},
html: { href: 'https://github.com/mdeweerd/zha-toolkit/pull/246' },
issue: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/issues/246'
},
review_comment: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/pulls/246/comments'
},
self: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/pulls/246'
},
statuses: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/statuses/6994333aa4e36581b831ae0b2cb28a28e84c0281'
}
},
active_lock_reason: null,
additions: 9,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'mdeweerd: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/mdeweerd/zha-toolkit/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/assignees{/user}',
blobs_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/branches{/branch}',
clone_url: 'https://github.com/mdeweerd/zha-toolkit.git',
collaborators_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/comments{/number}',
commits_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/commits{/sha}',
compare_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/contents/{+path}',
contributors_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/contributors',
created_at: '2022-01-17T17:07:59Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/deployments',
description: '🧰 Zigbee Home Assistant Toolkit - service for "rare" Zigbee operations using ZHA on Home Assistant',
disabled: false,
downloads_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/downloads',
events_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/events',
fork: false,
forks: 20,
forks_count: 20,
forks_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/forks',
full_name: 'mdeweerd/zha-toolkit',
git_commits_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/git/commits{/sha}',
git_refs_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/git/refs{/sha}',
git_tags_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/git/tags{/sha}',
git_url: 'git://github.com/mdeweerd/zha-toolkit.git',
has_discussions: false,
has_downloads: true,
has_issues
|
Update release draft
Error: Data doesn't contain `nodes` field. Make sure the `paginatePath` is set to the field you wish to paginate and that the query includes the `nodes` field.
at paginate (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:142879:11)
at async findCommitsWithAssociatedPullRequests (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:142674:12)
at async drafter (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:142380:7)
at async Promise.all (index 1)
{
name: 'AggregateError',
event: {
id: '10292644317',
name: 'pull_request',
payload: {
action: 'opened',
number: 246,
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/issues/246/comments'
},
commits: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/pulls/246/commits'
},
html: { href: 'https://github.com/mdeweerd/zha-toolkit/pull/246' },
issue: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/issues/246'
},
review_comment: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/pulls/246/comments'
},
self: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/pulls/246'
},
statuses: {
href: 'https://api.github.com/repos/mdeweerd/zha-toolkit/statuses/6994333aa4e36581b831ae0b2cb28a28e84c0281'
}
},
active_lock_reason: null,
additions: 9,
assignee: null,
assignees: [],
author_association: 'OWNER',
auto_merge: null,
base: {
label: 'mdeweerd: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/mdeweerd/zha-toolkit/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/assignees{/user}',
blobs_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/branches{/branch}',
clone_url: 'https://github.com/mdeweerd/zha-toolkit.git',
collaborators_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/comments{/number}',
commits_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/commits{/sha}',
compare_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/contents/{+path}',
contributors_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/contributors',
created_at: '2022-01-17T17:07:59Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/deployments',
description: '🧰 Zigbee Home Assistant Toolkit - service for "rare" Zigbee operations using ZHA on Home Assistant',
disabled: false,
downloads_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/downloads',
events_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/events',
fork: false,
forks: 20,
forks_count: 20,
forks_url: 'https://api.github.com/repos/mdeweerd/zha-toolkit/forks',
full_name: 'mdeweerd/zha-toolkit',
git_commits_url: 'https://api.github
|
Update release draft
The following actions uses Node.js version which is deprecated and will be forced to run on node20: release-drafter/release-drafter@v5. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|