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
|
@ -31,7 +31,8 @@ class GitHubReleaser {
|
|||
return this.github.repos.createRelease(params);
|
||||
}
|
||||
allReleases(params) {
|
||||
return this.github.paginate.iterator(this.github.repos.listReleases.endpoint.merge(params));
|
||||
const updatedParams = Object.assign({ per_page: 100 }, params);
|
||||
return this.github.paginate.iterator(this.github.repos.listReleases.endpoint.merge(updatedParams));
|
||||
}
|
||||
}
|
||||
exports.GitHubReleaser = GitHubReleaser;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue