GitHub
Connect your GitHub organization to track Actions, Packages, Copilot, Codespaces, and storage costs.
What StackSpend tracks
Once connected, StackSpend imports the following cost categories from GitHub's billing API:
- Actions compute minutes
- Packages data transfer
- Copilot seat costs
- Codespaces compute
- Storage costs
Data updates daily.
Prerequisites
- A GitHub organization account — personal accounts are not supported by the billing API
- Organization owner or admin access
Setup
1
Create a Personal Access Token
Go to GitHub Settings → Developer settings → Personal access tokens → Tokens (classic).
Use a Classic PAT, not a fine-grained token.Fine-grained tokens do not support the org billing API. You must use a Classic PAT.
Grant the following scopes:
admin:orgmanage_billing:enterprise— required if using GitHub Enterprisemanage_billing:copilot
2
Add to StackSpend
Go to Providers → Add provider → GitHub. Enter your organization name and the Classic PAT you just created. Click Save.
3
Verify
The first sync runs automatically after saving. Data updates daily in line with GitHub's billing API. Costs are tracked from your setup date — there is no historical backfill.
Organization accounts only.Only organization accounts are supported. GitHub's billing API does not expose personal account billing data. You must be an organization owner or admin.
Note.Free tier usage is automatically excluded from reported costs. Only paid usage appears in StackSpend.
Data availability
| Property | Value |
|---|---|
| Latency | Daily |
| Historical data | From setup date only |
| Setup time | ~3 minutes |
