Closed RichardLitt closed 4 years ago
No idea why the tests are failing. They work for me locally.
The is-github-user-or-org
package fails. For more information, see https://travis-ci.org/kevva/github-repositories/jobs/208712263.
Error: Not a GitHub user.
@SamVerschueren The package doesn't fail on travis when a GITHUB_TOKEN is set; I'm not sure why it is failing here, as I'm using the same key as was used in the tests in this repo. Any ideas?
I will try to check it tomorrow.
Thanks. Just retriggered the build since I fixed the tests on the main is-github-user-or-org branch, we'll see.
Passed. :D
Looking closer at the API, there perhaps ought to be another fix.
https://developer.github.com/v3/repos/#list-user-repositories
Normally, only the public repos for a user are returned with this module. If we're going to include orgs in order to get all
, we should enable the option to specify the other parameters, too. Should I do that here, or in another PR?
Ran across this again today. Any way to get this working?
@RichardLitt, sorry for taking so long reviewing this. Looks good, thanks!
You do you man. Open source means come back whenever. All good!
I completely agree! Anyway, should be published as of 3.1.0
!
There is an issue currently where private repositories from an organization are not available through the users/ endpoint. This check fixes that by first getting the type of the user requested, and udpating the request appropriately.