Description
In the CI/CD scaffolding script where if the github account selected has enough repositories where it starts paginating them, only the first page of repositories, sorted alphabetically, are available as options to the CI/CD script. We got past this by changing the repo to start with an “a”, but this seems unintended. The issue is in the results - what you are calling looks to be paginated, but it looks like it's not handling the results in that way.
This is:
- Bug
OR - Feature request
Specifications
- version: v5.10.0
- OS: Mac OS 11.4
- Browser: Terminal
Expected Behavior
I should see all of my repositories that are visible, not just the first page (30 or so)
Actual Behavior
I only get access to using my first page of repos, listed alphabetically
Steps to Reproduce the Problem
- Go load yourself up with more than 30 active repos
- Then when you go to setup the CI process and it needs to attach to a repo, it's not there.
Detailed Description
There's a place where the page size needs to be set to something a bit more reasonable - but really it should give you access to ALL of them.
Possible Solution
Change this to iterate over ALL repos to build the list - instead of any finite number. Pointer from @Pavel910:
https://octokit.github.io/rest.js/v18#repos-list-for-authenticated-user