osuosl / fenestra

A dashboard displaying stats about the OSU Open Source Lab
Apache License 2.0
2 stars 3 forks source link

Replace manual requests with Octokit API in commit job. #41

Closed MorganEPatch closed 7 years ago

MorganEPatch commented 7 years ago

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.

  1. 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.

@osuosl/devs