GitHub
The cipr github command retrieves IP ranges for GitHub services. With mini verbosity, each result contains the CIDR and service.
CLI command
cipr github --filter-service actions --ipv4 --verbose-mode mini
Output
4.148.0.0/16,actions
Data Format
CIDR | GitHub Service
Filter values
The service name comes from a top-level key in the GitHub Meta API response. The set of available services is derived live, so any service added by GitHub is selectable without a cipr update. Common service keys: actions, api, git, hooks, web, pages, packages, importer, github_enterprise_importer, copilot, codespaces.
| Filter | Description | Value format | Note |
|---|---|---|---|
--filter-service | Filter results by GitHub service. | Comma-separated service keys, such as actions,web,api. | Multiple values use OR matching. Case-insensitive. |
Run cipr github --list services to print the live list of selectable service names.