The commits and languages jobs currently manually execute their (unauthenticated) requests to the GitHub API, despite the fact that the Octokit library is included.
[X] Replace all requests using Net::HTTP, which causes really high rate limiting due to requests not being authenticated, with much simpler Octokit requests, which have a much simpler API, less bloat, built-in error handling, and the authentication we were already using.
This fix is only for commits, as languages were already fixed in #40.
Testing this PR.
Set the commits job to run e.g. every 30 seconds, and run fenestra.
Expected Output.
Watch as your code doesn't break from being rate-limited.
Changes in this PR.
The commits and languages jobs currently manually execute their (unauthenticated) requests to the GitHub API, despite the fact that the Octokit library is included.
This fix is only for commits, as languages were already fixed in #40.
Testing this PR.
Expected Output.
Watch as your code doesn't break from being rate-limited.
@osuosl/devs