diff --git a/lib/github/labels.js b/lib/github/labels.js index 9491027..77a61fa 100644 --- a/lib/github/labels.js +++ b/lib/github/labels.js @@ -53,7 +53,7 @@ const ensureLabelsAreCreated = async (octokit, client, ghOwner, ghRepo, issues) let responseData try { - responseData = await octokit.paginate(`GET /repos/${conf.ghOwner}/${conf.ghRepo}/labels`) + responseData = await octokit.paginate(`GET /repos/${conf.ghOwner}/${conf.ghRepo}/labels?per_page=100`) } catch (err) { throw new Error(dressError(err, `Failed to paginate octokit request for labels in repository: ${ghRepo}`)) }