organization, repository_slug, date, product, sku, quantity, and price_per_unit. The sku column is the most important diagnostic: it identifies the exact resource consuming budget (for example, Actions Linux, Actions Windows, Actions macOS, Packages Storage, or Codespaces Linux). quantity shows minutes or gigabytes used, and price_per_unit indicates whether you’ve exceeded free tiers and are paying overages.
- Dormant seats
- Export the active license list from your GitHub billing dashboard.
- Compare it to your identity provider’s active employee directory (a scheduled script or spreadsheet VLOOKUP works well).
- Any mismatches typically indicate licenses assigned to departed or inactive users — reclaim those seats to reduce recurring license costs.

Automate this comparison on a schedule (daily or weekly) to quickly detect stale accounts and reclaim dormant seats before they continue to incur costs.
- Machine accounts
- Ensure CI bots and service accounts are configured as machine accounts (GitHub Apps, service principals, or other non-seat-consuming identities) instead of using standard user seats or Advanced Security committer licenses.
- This reduces license attribution and centralizes credentials and permissions for automated processes.
- Outside collaborators (nuance)
- Outside collaborators are not organization members and typically do not consume paid organization seats when granted access to private repositories; they can be a cost-effective way to grant access to external contributors.
- Internal repositories cannot include outside collaborators — they require organization or enterprise members.
- Audit private repositories for unnecessary external access. For high-activity external contributors who need centralized controls or paid features, consider converting them to organization members.
- macOS and Windows runners
- macOS and Windows GitHub-hosted runners cost more per minute than Linux:
- macOS: ~10× Linux per-minute rate
- Windows: ~2× Linux per-minute rate
- If your usage report shows high
Actions macOSorActions Windowsquantities:- Restrict macOS/Windows workflows to protected branches (e.g.,
main) or to PRs that targetmain. - Consider moving suitable jobs to self-hosted runners (no per-minute GitHub-hosted charges).
- Restrict macOS/Windows workflows to protected branches (e.g.,

- GitHub Advanced Security seats
- If inactive repositories have GitHub Advanced Security enabled, archive them. Archiving freezes changes and halts active development.
- Depending on GitHub’s license-seat attribution rules, archiving and persistent inactivity may result in Advanced Security committer seats no longer being attributed after a retention period (commonly ~90 days). Verify current behavior in the documentation and your billing settings.
- Dependency caching
- Cache dependencies to reduce repeated installs and dramatically speed up builds. This often reduces run minutes for subsequent jobs by a large percentage, directly lowering monthly usage.
- Example npm cache step (place inside
job -> stepsin.github/workflows/ci.yml):
Exam / Summary facts to remember
- macOS runners cost roughly 10× more per-minute than Linux; Windows runners roughly 2× more.
- Archive inactive repositories to freeze changes; depending on billing attribution rules, Advanced Security seats may be reclaimed after a period of inactivity (commonly ~90 days). Confirm current rules in the GitHub docs.
- Outside collaborators added to public repositories do not consume paid seats. Outside collaborators are generally not billed as organization members when granted access to private repositories, but internal repositories cannot have outside collaborators.
Unmonitored CI and Codespaces consumption can create runaway monthly costs. Regularly export usage reports, schedule automated audits (seats, runners, collaborators), and apply caching and self-hosted runners where appropriate.
- GitHub: Archiving a repository — About archiving repositories
- GitHub Actions pricing and billing documentation
- Managing outside collaborators on GitHub