Experimental: Route GitHub API traffic through a custom host
Organizations can now route a GitHub host's API traffic through a gateway using the new per-host api_host configuration:
# Route API traffic for github.com through a gateway
gh config set api_host gh-gateway.example.com --host github.com
# Read the configured API host
gh config get api_host --host github.comThe original host remains in use for authentication, Git remotes, and browser URLs.
Note
api_host is experimental and is not a security boundary. Requests may still reach the original host.
What's Changed
✨ Features
- Honor per-host
api_hostrouting across GitHub API requests by - Expose
api_hostthroughgh config getandgh config setby - Add
webhookas an official extension by - Print full command help after command misuse when
ghis invoked by a coding agent by
🐛 Fixes
- fix(api): disable telemetry for unauthenticated GHES requests using absolute hostnames by
📚 Docs & Chores
- Fix discussion acceptance test flags by
- Clarify supported GHES versions by
- Improve automated issue triage analysis by
- Record attachment counts in telemetry by
Dependencies
- chore(deps): bump
golang.org/x/cryptofrom 0.55.0 to 0.56.0 by - chore(deps): bump Go toolchain from 1.26.7 to 1.26.8 by
- chore(deps): bump
github.com/cli/go-gh/v2from 2.15.0 to 2.16.0 by
Full Changelog: v2.99.0...v2.100.0
SOCIAL SHARE CARD GENERATOR