This pull request primarily refactors the gh-repo-stats file to improve the GitHub API calls and adds a new condition to handle Windows operating systems. The changes include modifying the API endpoint calls, and adding a condition to handle leading slashes in Windows operating systems.
[!WARNING]
When running this in a windows-latest I kept getting base64: invalid. However, the .csv output file contained accurate info on repos I checked
This pull request primarily refactors the
gh-repo-stats
file to improve the GitHub API calls and adds a new condition to handle Windows operating systems. The changes include modifying the API endpoint calls, and adding a condition to handle leading slashes in Windows operating systems.related issue https://github.com/cli/cli/issues/6415