ci: add release-drafter github action #1
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors
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: '9409443142',
event: {
id: '9409443142',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/1290?v=4',
created_at: '2019-11-13T18:05:41Z',
description: '',
html_url: 'https://github.com/enterprises/amazon',
id: 1290,
name: 'Amazon',
node_id: 'MDEwOkVudGVycHJpc2UxMjkw',
slug: 'amazon',
updated_at: '2023-01-27T14:56:10Z',
website_url: 'https://www.amazon.com/'
},
number: 58,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/111038392?v=4',
description: 'AWS for Games projects',
events_url: 'https://api.github.com/orgs/aws-games/events',
hooks_url: 'https://api.github.com/orgs/aws-games/hooks',
id: 111038392,
issues_url: 'https://api.github.com/orgs/aws-games/issues',
login: 'aws-games',
members_url: 'https://api.github.com/orgs/aws-games/members{/member}',
node_id: 'O_kgDOBp5PuA',
public_members_url: 'https://api.github.com/orgs/aws-games/public_members{/member}',
repos_url: 'https://api.github.com/orgs/aws-games/repos',
url: 'https://api.github.com/orgs/aws-games'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/issues/58/comments'
},
commits: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/pulls/58/commits'
},
html: {
href: 'https://github.com/aws-games/cloud-game-development-toolkit/pull/58'
},
issue: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/issues/58'
},
review_comment: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/pulls/58/comments'
},
self: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/pulls/58'
},
statuses: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/statuses/f6a4669a2a9112950046235308706619fd2d6a5d'
}
},
active_lock_reason: null,
additions: 29,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/17753062?v=4',
events_url: 'https://api.github.com/users/kylesomers/events{/privacy}',
followers_url: 'https://api.github.com/users/kylesomers/followers',
following_url: 'https://api.github.com/users/kylesomers/following{/other_user}',
gists_url: 'https://api.github.com/users/kylesomers/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/kylesomers',
id: 17753062,
login: 'kylesomers',
node_id: 'MDQ6VXNlcjE3NzUzMDYy',
organizations_url: 'https://api.github.com/users/kylesomers/orgs',
received_events_url: 'https://api.github.com/users/kylesomers/received_events',
repos_url: 'https://api.github.com/users/kylesomers/repos',
site_admin: false,
starred_url: 'https://api.github.com/users/kylesomers/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/kylesomers/subscriptions',
type: 'User',
url: 'https://api.github.com/users/kylesomers'
},
assignees: [
{
avatar_url: 'https://avatars.githubusercontent.com/u/17753062?v=4',
events_url: 'https://api.github.com/users/kylesomers/events{/privacy}',
followers_url: 'https:/
|
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/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:142879:11)
at async findCommitsWithAssociatedPullRequests (/home/runner/work/_actions/release-drafter/release-drafter/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:142688:12)
at async drafter (/home/runner/work/_actions/release-drafter/release-drafter/3f0f87098bd6b5c5b9a36d49c41d998ea58f9348/dist/index.js:142380:7)
at async Promise.all (index 1)
{
name: 'AggregateError',
event: {
id: '9409443142',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/1290?v=4',
created_at: '2019-11-13T18:05:41Z',
description: '',
html_url: 'https://github.com/enterprises/amazon',
id: 1290,
name: 'Amazon',
node_id: 'MDEwOkVudGVycHJpc2UxMjkw',
slug: 'amazon',
updated_at: '2023-01-27T14:56:10Z',
website_url: 'https://www.amazon.com/'
},
number: 58,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/111038392?v=4',
description: 'AWS for Games projects',
events_url: 'https://api.github.com/orgs/aws-games/events',
hooks_url: 'https://api.github.com/orgs/aws-games/hooks',
id: 111038392,
issues_url: 'https://api.github.com/orgs/aws-games/issues',
login: 'aws-games',
members_url: 'https://api.github.com/orgs/aws-games/members{/member}',
node_id: 'O_kgDOBp5PuA',
public_members_url: 'https://api.github.com/orgs/aws-games/public_members{/member}',
repos_url: 'https://api.github.com/orgs/aws-games/repos',
url: 'https://api.github.com/orgs/aws-games'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/issues/58/comments'
},
commits: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/pulls/58/commits'
},
html: {
href: 'https://github.com/aws-games/cloud-game-development-toolkit/pull/58'
},
issue: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/issues/58'
},
review_comment: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/pulls/58/comments'
},
self: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/pulls/58'
},
statuses: {
href: 'https://api.github.com/repos/aws-games/cloud-game-development-toolkit/statuses/f6a4669a2a9112950046235308706619fd2d6a5d'
}
},
active_lock_reason: null,
additions: 29,
assignee: {
avatar_url: 'https://avatars.githubusercontent.com/u/17753062?v=4',
events_url: 'https://api.github.com/users/kylesomers/events{/privacy}',
followers_url: 'https://api.github.com/users/kylesomers/followers',
following_url: 'https://api.github.com/users/kylesomers/following{/other_user}',
gists_url: 'https://api.github.com/users/kylesomers/gists{/gist_id}',
gravatar_id: '',
html_url: 'https://github.com/kylesomers',
id: 17753062,
login: 'kylesomers',
node_id: 'MDQ6VXNlcjE3NzUzMDYy',
organizations_url: 'https://api.github.com/users/kylesomers/orgs',
received_events_url: 'https://api.github.com/users/kylesomers/received_events',
repos_url: 'https://api.github.com/users/kylesomers/repos',
site_a
|