Connecting GitHub
CICosts uses GitHub OAuth and a GitHub App to securely access your workflow data. This guide explains how the connection works and what permissions are required.
How CICosts Connects
CICosts uses two types of GitHub integrations:
1. OAuth App (User Authentication)
When you sign in with GitHub, we use OAuth to:
- Authenticate your identity
- Access your email and username
- List organizations you belong to
Scopes requested:
read:user- Read your profile informationuser:email- Access your email addressread:org- List your organizations
2. GitHub App (Repository Access)
The CICosts GitHub App is installed on your organizations to:
- Receive webhooks when workflows run
- Fetch workflow run metadata
- Calculate costs based on runner usage
Permissions requested:
actions: read- View workflow runs and jobsmetadata: read- View repository names and metadata
Installation Steps
Installing on Personal Repositories
- Go to cicosts.dev/dashboard
- Click "Add Organization" or the + button
- Select your personal account from the list
- Choose which repositories to track
- Click Install
Installing on Organizations
You must be an organization owner or have admin permissions to install the GitHub App.
- Go to cicosts.dev/dashboard
- Click "Add Organization"
- Select the organization from the list
- Choose repository access:
- All repositories - Automatically tracks new repos
- Selected repositories - Manually choose repos
- Click Install
Some organizations require admin approval for app installations. If you see a "Request" button instead of "Install", your request will be sent to org admins.
Managing App Permissions
View Current Installations
- Go to GitHub Settings → Applications → Installed GitHub Apps
- Find CICosts in the list
- Click Configure to view or modify
Change Repository Access
- Open the GitHub App configuration (steps above)
- Under "Repository access", select your preference
- Click Save
Changes take effect immediately.
Revoke Access
To disconnect CICosts from an organization:
- Go to GitHub Settings → Applications → Installed GitHub Apps
- Find CICosts
- Click Configure → Uninstall
After uninstalling, your historical cost data remains in CICosts for 30 days (Free) or 1 year (Pro), but no new data will be collected.
Multiple Organizations
CICosts supports tracking multiple organizations from a single account:
- Install the GitHub App on each organization
- Use the org switcher in the dashboard header to switch between orgs
- View aggregated costs across all orgs on the main dashboard
Agency Use Case
If you manage GitHub organizations for clients:
- Install CICosts on each client's organization
- Track costs per client for accurate billing
- Set per-org budget alerts to prevent overruns
Security Considerations
What CICosts CAN access
- Workflow run metadata (times, status, runner labels)
- Job information (names, durations)
- Repository names and visibility
- Organization membership
What CICosts CANNOT access
- Your source code
- Repository contents (files, commits)
- Secrets or environment variables
- SSH keys or deploy keys
- Billing information or credit cards
Data Privacy
- We only store workflow metadata needed for cost calculation
- Data is encrypted at rest and in transit
- We never share your data with third parties
- You can request data deletion at any time
Next: Your First Dashboard →