Improve response body typing #33
release-drafter.yml
on: pull_request
update_release_draft
8s
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: '7723461659',
event: {
id: '7723461659',
name: 'pull_request',
payload: {
action: 'opened',
number: 17,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/55070060?v=4',
description: '',
events_url: 'https://api.github.com/orgs/ge-tracker/events',
hooks_url: 'https://api.github.com/orgs/ge-tracker/hooks',
id: 55070060,
issues_url: 'https://api.github.com/orgs/ge-tracker/issues',
login: 'ge-tracker',
members_url: 'https://api.github.com/orgs/ge-tracker/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjU1MDcwMDYw',
public_members_url: 'https://api.github.com/orgs/ge-tracker/public_members{/member}',
repos_url: 'https://api.github.com/orgs/ge-tracker/repos',
url: 'https://api.github.com/orgs/ge-tracker'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/issues/17/comments'
},
commits: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/pulls/17/commits'
},
html: {
href: 'https://github.com/ge-tracker/ge-tracker-api/pull/17'
},
issue: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/issues/17'
},
review_comment: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/pulls/17/comments'
},
self: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/pulls/17'
},
statuses: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/statuses/f3e05f4cc75e0e6b655acaed4dfbae0be26eb51e'
}
},
active_lock_reason: null,
additions: 20,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'ge-tracker: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: false,
archive_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/assignees{/user}',
blobs_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/branches{/branch}',
clone_url: 'https://github.com/ge-tracker/ge-tracker-api.git',
collaborators_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/comments{/number}',
commits_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/commits{/sha}',
compare_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/contents/{+path}',
contributors_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/contributors',
created_at: '2018-08-02T09:35:13Z',
default_branch: 'main',
delete_branch_on_merge: false,
deployments_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/deployments',
description: 'Official JavaScript API for GE Tracker',
disabled: false,
downloads_url:
|
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: '7723461659',
name: 'pull_request',
payload: {
action: 'opened',
number: 17,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/55070060?v=4',
description: '',
events_url: 'https://api.github.com/orgs/ge-tracker/events',
hooks_url: 'https://api.github.com/orgs/ge-tracker/hooks',
id: 55070060,
issues_url: 'https://api.github.com/orgs/ge-tracker/issues',
login: 'ge-tracker',
members_url: 'https://api.github.com/orgs/ge-tracker/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjU1MDcwMDYw',
public_members_url: 'https://api.github.com/orgs/ge-tracker/public_members{/member}',
repos_url: 'https://api.github.com/orgs/ge-tracker/repos',
url: 'https://api.github.com/orgs/ge-tracker'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/issues/17/comments'
},
commits: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/pulls/17/commits'
},
html: {
href: 'https://github.com/ge-tracker/ge-tracker-api/pull/17'
},
issue: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/issues/17'
},
review_comment: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/pulls/17/comments'
},
self: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/pulls/17'
},
statuses: {
href: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/statuses/f3e05f4cc75e0e6b655acaed4dfbae0be26eb51e'
}
},
active_lock_reason: null,
additions: 20,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'ge-tracker: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: false,
archive_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/assignees{/user}',
blobs_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/branches{/branch}',
clone_url: 'https://github.com/ge-tracker/ge-tracker-api.git',
collaborators_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/comments{/number}',
commits_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/commits{/sha}',
compare_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/ge-tracker/ge-tracker-api/contents/{+path}',
contributors_url: 'https://api.github.c
|
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/.
|