balena-io-modules / scrutinizer

Extract a git repository's metadata relying on open source conventions
Apache License 2.0
8 stars 0 forks source link

Allow unauthenticated requests to the GitHub API #128

Closed LucianBuzzo closed 2 years ago

LucianBuzzo commented 4 years ago

Only set an octokit auth value if a token is available, otherwise octokit will try and authorize the request and fail.

Fixes balena-io-modules/scrutinizer#127 Change-type: patch Signed-off-by: Lucian Buzzo lucian.buzzo@gmail.com