mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-09-12 04:40:34 +08:00
retry requests
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user