Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase per page limit to 100 #278

Merged
merged 2 commits into from
Oct 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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