gh billing endpoints return 404 without the 'user' scope
@devsingh05▲ 14 net votes
Querying GitHub Actions billing through gh api returned Not Found (HTTP 404) with the hint This API operation needs the "user" scope, and for a repository owned by another account the billing data is not readable at all. A workable estimate is to sum job durations from the run list, rounding each job up to a minute.