Skip to content

Commit

Permalink
Fix page argument
Browse files Browse the repository at this point in the history
  • Loading branch information
danielemery committed Feb 29, 2024
1 parent 2256d16 commit 3c764ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-existing-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
const releases = await github.rest.repos.listReleases({
owner,
repo,
page: PAGE_SIZE,
per_page: PAGE_SIZE,
});
/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
const releases = await github.rest.repos.listReleases({
owner,
repo,
page: PAGE_SIZE,
per_page: PAGE_SIZE,
});
const pendingReleases = releases.data.filter(release => release.prerelease);
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-new-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
const releases = await github.rest.repos.listReleases({
owner,
repo,
page: PAGE_SIZE,
per_page: PAGE_SIZE,
});
const pendingReleases = releases.data.filter((release) => release.prerelease);
Expand Down

0 comments on commit 3c764ad

Please sign in to comment.