Closed jeffmendoza closed 4 months ago
Thanks for filing the bug. To clarify, this is older behavior right? You should have seen this prior to upgrading to v5?
I had the same thought when providing feedback in #4254, so this seems like a sensible change to make. Do you have time/desire to send a PR?
I am seeing this with v5 and the sample code. I'll send a PR
Oh, Not sure about before v5. I assume so
Describe the bug githubrepo.Client.GetOrgRepoClient() simply calls CreateGithubRepoClient(). Instead it should call
CreateGithubRepoClientWithTransport()
and pass in its own client's transportclient.repoClient.Client().Transport
.Reproduction steps Have an authenticated transport, say
it
This should work, but you get:
due to: https://github.com/ossf/scorecard/blob/main/checks/raw/security_policy.go#L63
Expected behavior Auth works.