Skip to content

Commit

Permalink
Increase per page limit to 100 (#278)
Browse files Browse the repository at this point in the history
* Increase per page limit to 100

* Add build
  • Loading branch information
imranismail committed Oct 16, 2022
1 parent 5f57b32 commit 9fc5df9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion dist/index.js
Expand Up @@ -120,7 +120,8 @@ function getMaxSatisfyingVersion(targetVersion) {
try {
for (var _b = __asyncValues(octokit.paginate.iterator(octokit.repos.listReleases, {
owner: 'kubernetes-sigs',
repo: 'kustomize'
repo: 'kustomize',
per_page: 100
})), _c; _c = yield _b.next(), !_c.done;) {
const response = _c.value;
for (const release of response.data) {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "setup-kustomize",
"version": "1.7.1",
"version": "1.7.2",
"private": true,
"description": "Github action to setup-kustomize",
"main": "lib/main.js",
Expand Down
3 changes: 2 additions & 1 deletion src/installer.ts
Expand Up @@ -91,7 +91,8 @@ async function getMaxSatisfyingVersion(
octokit.repos.listReleases,
{
owner: 'kubernetes-sigs',
repo: 'kustomize'
repo: 'kustomize',
per_page: 100
}
)) {
for (const release of response.data) {
Expand Down

0 comments on commit 9fc5df9

Please sign in to comment.