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

BUG: need token for local repo #1740

Closed
laurentsimon opened this issue Mar 17, 2022 · 5 comments
Closed

BUG: need token for local repo #1740

laurentsimon opened this issue Mar 17, 2022 · 5 comments
Assignees
Labels
area/testing kind/bug Something isn't working

Comments

@laurentsimon
Copy link
Contributor

laurentsimon commented Mar 17, 2022

$ go run . --local=../TEST2 --format raw --show-details | jq .

ERRO[0000] GitHub token env var is not set. Please read https://github.com/ossf/scorecard#authentication  error="an error occurred while getting GitHub credentials"

cc @azeemsgoogle @naveensrinivasan we really need this case covered by unit tests. It happened 2 weeks ago as well

@laurentsimon laurentsimon added the kind/bug Something isn't working label Mar 17, 2022
@naveensrinivasan naveensrinivasan self-assigned this Mar 17, 2022
@naveensrinivasan
Copy link
Member

I will take this and get it fixed.

@laurentsimon
Copy link
Contributor Author

Thanks Naveen!

@naveensrinivasan
Copy link
Member

@laurentsimon I can't seem to recreate this issue on the a496d8c which is the main at the moment.

SCORECARD_V6=1 go run . --local=. --format raw --show-details | jq .

Can you please provide the steps to recreate this?

@laurentsimon
Copy link
Contributor Author

do you have a GITHUB_AUTH_TOKEN var defined in your env? The above triggered only when not set

@azeemshaikh38
Copy link
Contributor

I'm unable to reproduce this too, even with GITHUB_AUTH_TOKEN unset. Closing this for now, @laurentsimon please re-open if needed and add steps to reproduce.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/testing kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants