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

Compatibility with Windows Git Bash #99

Closed amenocal closed 4 months ago

amenocal commented 4 months ago

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

[!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

Log

Analyzing Repo: actions-demo base64: invalid input base64: invalid input base64: invalid input base64: invalid input base64: invalid input