From 8873fc7068bb870c18a7368c8611e758348dee8c Mon Sep 17 00:00:00 2001 From: Nikolai Mishin Date: Sat, 14 Oct 2023 22:09:49 +0200 Subject: [PATCH] Add support for packages IP address for APIMeta --- github/meta.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/github/meta.go b/github/meta.go index a4d9bac77b4..57fa8ccf588 100644 --- a/github/meta.go +++ b/github/meta.go @@ -32,6 +32,10 @@ type APIMeta struct { // not supported on these servers.) VerifiablePasswordAuthentication *bool `json:"verifiable_password_authentication,omitempty"` + // An array of IP addresses in CIDR format specifying the addresses + // which serve GitHub Packages. + Packages []string `json:"packages,omitempty"` + // An array of IP addresses in CIDR format specifying the addresses // which serve GitHub Pages websites. Pages []string `json:"pages,omitempty"`