forked from mirrors/action-gh-release
retry requests
This commit is contained in:
parent
6247f9299a
commit
2e7c800734
6 changed files with 53 additions and 5 deletions
|
@ -70,8 +70,9 @@ export class GitHubReleaser implements Releaser {
|
|||
owner: string;
|
||||
repo: string;
|
||||
}): AsyncIterableIterator<{ data: Release[] }> {
|
||||
const updatedParams = { per_page: 100, ...params };
|
||||
return this.github.paginate.iterator(
|
||||
this.github.repos.listReleases.endpoint.merge(params)
|
||||
this.github.repos.listReleases.endpoint.merge(updatedParams)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue