According to the GitHub API Events Page for the Push Event it returns an array of commits. It says the following:
The array includes a maximum of 20 commits. If necessary, you can use the Commits API to fetch additional commits.
Only problem is when looking at the Commits API there is no way to get the commits linked to a specific Push Event.
Running a GET HTTP request for the URL: https://api.github.com/repos/OWNER/REPO/commits?sha=commitsha seems to return all the commits before that sha. I'm just looking to somehow get the commits that were pushed in that specific Push Event.
How can I do that?