mona-actions / gh-repo-stats

GH CLI extension to pull statistics on repository metadata used in GitHub migrations
MIT License
146 stars 76 forks source link

Strangely that didn't happen to me. I wonder if it was using my `GITHUB_TOKEN` that is in my environment? #57

Closed Juanareyessanchez closed 9 months ago

Juanareyessanchez commented 1 year ago
          Strangely that didn't happen to me.  I wonder if it was using my `GITHUB_TOKEN` that is in my environment?

Anyhow, could gh auth allow this to use a github app for authentication so we get 15k requests per hour? Is the gh tool even the right spot to make that request?

Originally posted by @Chocrates in https://github.com/mona-actions/gh-repo-stats/issues/26#issuecomment-1144178823

pmartindev commented 9 months ago

This extension doesn't currently utilize gh auth, but you can use a tool such as https://github.com/link-/gh-token to generate a short lived token (1 hour) GH app token to pass in.