mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
fix(github): Do not limit pagination for discovered repos (#7476)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
parent
87222bdcda
commit
4e08d56cfb
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ export async function getRepos(): Promise<string[]> {
|
||||||
try {
|
try {
|
||||||
const res = await githubApi.getJson<{ full_name: string }[]>(
|
const res = await githubApi.getJson<{ full_name: string }[]>(
|
||||||
'user/repos?per_page=100',
|
'user/repos?per_page=100',
|
||||||
{ paginate: true }
|
{ paginate: 'all' }
|
||||||
);
|
);
|
||||||
return res.body.map((repo) => repo.full_name);
|
return res.body.map((repo) => repo.full_name);
|
||||||
} catch (err) /* istanbul ignore next */ {
|
} catch (err) /* istanbul ignore next */ {
|
||||||
|
|
Loading…
Reference in a new issue