microsoft / microsoft/OSSGadget
GITHUB_ACCESS_TOKEN environment variable is never used
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 371
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Description
Even though it's set in the environment, I always get this error when trying to run oss-health against something hosted in github:
WARN - Unable to calculate health for pkg:github/stevemao/left-pad: Missing GitHub access token. Please define GITHUB_ACCESS_TOKEN.
I think I have found the reason and will submit a PR shortly, but may be the wrong way to fix it, as I am new to c# or this project.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running oss-health against github/stevemao/left-pad with GITHUB_ACCESS_TOKEN set, then trace the token handling from the oss-health entry point. The payload names no file or test; done means the environment value is recognized and the missing-token warning no longer appears.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100