Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify the existance of a commit via GitHub API and that the given commit is in the master/main branch #3

Open
potomak opened this issue Aug 30, 2017 · 1 comment
Assignees

Comments

@potomak
Copy link
Member

potomak commented Aug 30, 2017

No description provided.

@bugant bugant self-assigned this Aug 30, 2017
@bugant
Copy link
Member

bugant commented Sep 12, 2017

I think I'll this API https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository

By default it will list all commits for the project's default branch. I think we can also filter commits by author (the user who submitted the resolution, but this would require changes to the contract). And also set a maximum time span to avoid incurring in rate limits due to requests that make us scan an entire big project commit history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants