Skip to main content

GitHub

The cipr github command allows you to retrieve IP ranges for GitHub services. Let's check the cipr github command output data format with mini verbosity mode.

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 the top-level key of GitHub's meta endpoint (https://api.github.com/meta). 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.

FiltersDescriptionFilter data formatNote
--filter-serviceFilter results by GitHub service.Service key as exposed by https://api.github.com/meta: actions, api, git, hooks, web, pages, packages, importer, github_enterprise_importer, copilot, codespaces ...Single value only. Case-insensitive.

Run cipr github --list services to print the live list of selectable service names.