-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fetch status information for a given commit sha #2
Comments
I tried running this query
This was the data i got returned and as we can see it returns the status check for the commit
|
You may also want to try some PRs with a lot of different status checks: |
Yeah I guess this is the issue so if I try to get the status of a repo I am not a collaborator for or dont have write access to the status returns null
Edit: I do not think it would be an issue for us since the query user would have write access and the token |
hm, interesting. I can provide you a token if needed that has commit status read permissions, but I’d expect it to be globally readable. |
@ljharb yeah, since the API is built in a way to provide statuses to only authenticated tokens with certain permissions. The CLI tool could start off with the token and then do the later stuff using that token. Does Not harm us to have 5000 requests per hour with an authenticated token |
https://www.npmjs.com/package/hawk-fetch |
Migrate to Yargs and update eslint config
We need to fetch the following information
a) Status
b) Context of the status check
c) If all checks have passed
The text was updated successfully, but these errors were encountered: