Reorganising the code with proper crate structure #41
release-drafter.yml
on: pull_request
update_release_draft
4s
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: '7919761345',
event: {
id: '7919761345',
name: 'pull_request',
payload: {
action: 'opened',
number: 55,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/110230719?v=4',
description: 'A lowcode based test automation platform which complete CI/CD with powerful tool ',
events_url: 'https://api.github.com/orgs/orcaci/events',
hooks_url: 'https://api.github.com/orgs/orcaci/hooks',
id: 110230719,
issues_url: 'https://api.github.com/orgs/orcaci/issues',
login: 'orcaci',
members_url: 'https://api.github.com/orgs/orcaci/members{/member}',
node_id: 'O_kgDOBpH8vw',
public_members_url: 'https://api.github.com/orgs/orcaci/public_members{/member}',
repos_url: 'https://api.github.com/orgs/orcaci/repos',
url: 'https://api.github.com/orgs/orcaci'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/orcaci/orca/issues/55/comments'
},
commits: {
href: 'https://api.github.com/repos/orcaci/orca/pulls/55/commits'
},
html: { href: 'https://github.com/orcaci/orca/pull/55' },
issue: {
href: 'https://api.github.com/repos/orcaci/orca/issues/55'
},
review_comment: {
href: 'https://api.github.com/repos/orcaci/orca/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/orcaci/orca/pulls/55/comments'
},
self: { href: 'https://api.github.com/repos/orcaci/orca/pulls/55' },
statuses: {
href: 'https://api.github.com/repos/orcaci/orca/statuses/55d5350ddebcd058f8ef822e6835694c6b41db34'
}
},
active_lock_reason: null,
additions: 711,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'orcaci:main',
ref: 'main',
repo: {
allow_auto_merge: true,
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/orcaci/orca/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/orcaci/orca/assignees{/user}',
blobs_url: 'https://api.github.com/repos/orcaci/orca/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/orcaci/orca/branches{/branch}',
clone_url: 'https://github.com/orcaci/orca.git',
collaborators_url: 'https://api.github.com/repos/orcaci/orca/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/orcaci/orca/comments{/number}',
commits_url: 'https://api.github.com/repos/orcaci/orca/commits{/sha}',
compare_url: 'https://api.github.com/repos/orcaci/orca/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/orcaci/orca/contents/{+path}',
contributors_url: 'https://api.github.com/repos/orcaci/orca/contributors',
created_at: '2022-01-30T07:28:10Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/orcaci/orca/deployments',
description: 'Orca - is test automation application that will help application automation with the Record and Playback',
disabled: false,
downloads_url: 'https://api.github.com/repos/orcaci/orca/downloads',
events_url: 'https://api.github.com/repos/orcaci/orca/events',
fork: false,
forks: 14,
forks_count: 14,
forks_url: 'h
|
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:142688: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: '7919761345',
name: 'pull_request',
payload: {
action: 'opened',
number: 55,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/110230719?v=4',
description: 'A lowcode based test automation platform which complete CI/CD with powerful tool ',
events_url: 'https://api.github.com/orgs/orcaci/events',
hooks_url: 'https://api.github.com/orgs/orcaci/hooks',
id: 110230719,
issues_url: 'https://api.github.com/orgs/orcaci/issues',
login: 'orcaci',
members_url: 'https://api.github.com/orgs/orcaci/members{/member}',
node_id: 'O_kgDOBpH8vw',
public_members_url: 'https://api.github.com/orgs/orcaci/public_members{/member}',
repos_url: 'https://api.github.com/orgs/orcaci/repos',
url: 'https://api.github.com/orgs/orcaci'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/orcaci/orca/issues/55/comments'
},
commits: {
href: 'https://api.github.com/repos/orcaci/orca/pulls/55/commits'
},
html: { href: 'https://github.com/orcaci/orca/pull/55' },
issue: {
href: 'https://api.github.com/repos/orcaci/orca/issues/55'
},
review_comment: {
href: 'https://api.github.com/repos/orcaci/orca/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/orcaci/orca/pulls/55/comments'
},
self: { href: 'https://api.github.com/repos/orcaci/orca/pulls/55' },
statuses: {
href: 'https://api.github.com/repos/orcaci/orca/statuses/55d5350ddebcd058f8ef822e6835694c6b41db34'
}
},
active_lock_reason: null,
additions: 711,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'orcaci:main',
ref: 'main',
repo: {
allow_auto_merge: true,
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/orcaci/orca/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/orcaci/orca/assignees{/user}',
blobs_url: 'https://api.github.com/repos/orcaci/orca/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/orcaci/orca/branches{/branch}',
clone_url: 'https://github.com/orcaci/orca.git',
collaborators_url: 'https://api.github.com/repos/orcaci/orca/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/orcaci/orca/comments{/number}',
commits_url: 'https://api.github.com/repos/orcaci/orca/commits{/sha}',
compare_url: 'https://api.github.com/repos/orcaci/orca/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/orcaci/orca/contents/{+path}',
contributors_url: 'https://api.github.com/repos/orcaci/orca/contributors',
created_at: '2022-01-30T07:28:10Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/orcaci/orca/deployments',
description
|
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/.
|