From 2ec08e9646a354fef1e5baaee13cd25926b15353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20de=20Metz?= Date: Thu, 3 Nov 2022 18:42:08 +0100 Subject: [PATCH] Update github/github.go Co-authored-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> --- github/github.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/github/github.go b/github/github.go index 17706b0780d..6015250ab4f 100644 --- a/github/github.go +++ b/github/github.go @@ -237,7 +237,8 @@ type ListCursorOptions struct { // For paginated result sets, the number of results to include per page. PerPage int `url:"per_page,omitempty"` - // For paginated result sets, the number of results to include per page starting from the first matching result. + // For paginated result sets, the number of results per page (max 100), starting from the first matching result. + // This parameter must not be used in combination with last. First int `url:"first,omitempty"` // For paginated result sets, the number of results to include per page starting from the last matching result.