You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you first run the app, you'll see that the number of repositories being inspected is the correct total number of repositories for the organization. However, the next time the job runs, only 30 repositories are returned.
This is either due to the request method resetting the Octokit client, or not passing in the autopaginate option during initialization.
The text was updated successfully, but these errors were encountered:
Hi there, sorry for the late reply. Can you check in the terminal logs which API calls are made for a subsequent fetch? Look for https://api.github.com/orgs/<your-repo>/repos?per_page=100&type=owner. Looking at the Octokit source, it should copy the "static" module defaults (https://github.com/octokit/octokit.rb/blob/master/lib/octokit/client.rb#L101). There's an issue around those defaults not impacting current instances (octokit/octokit.rb#554), but since I'm setting Octokit.auto_paginate = true very early (in config.ru), I don't think that applies here.
When you first run the app, you'll see that the number of repositories being inspected is the correct total number of repositories for the organization. However, the next time the job runs, only 30 repositories are returned.
This is either due to the request method resetting the Octokit client, or not passing in the autopaginate option during initialization.
The text was updated successfully, but these errors were encountered: