Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 2

Commit status sometimes missing

I am trying to fetch the status of all the repositories in our organisation. I have created an access token from an account with administration rights for the organisation, and I'm using the

octokit.repos.listStatusesForRef()

method. I tried using both the default branch name as the "ref" parameter and the SHA of individual commits, and in some cases I get status information, but for certain repositories an empty array is returned, even though status checks are displayed on the Github UI. This affects both public and private repositories, and when there are multiple statuses for a single reference, only some of them are available.

 

Is there some kind of filtering that is applied automatically, or do you have any idea what could be causing this status information to be missing from the response?

1 Reply
Community Manager
Message 2 of 2

Re: Commit status sometimes missing

Do you have a public repository and a specific ref where the problem can be reproduced?