Skip to content

Commit

Permalink
Merge pull request #649 from actions/per-page
Browse files Browse the repository at this point in the history
Smaller `per_page` when requesting diff
  • Loading branch information
hmaurer authored Jan 4, 2024
2 parents 8a49820 + 9e77cc7 commit d2ed7c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/dependency-graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ export async function compare({
url: '/repos/{owner}/{repo}/dependency-graph/compare/{basehead}',
owner,
repo,
basehead: `${baseRef}...${headRef}`
basehead: `${baseRef}...${headRef}`,
per_page: 5
},
response => {
if (
Expand Down

0 comments on commit d2ed7c0

Please sign in to comment.