From f6b2696762078ee9a991448e42a3e9d09cbe9007 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Tue, 25 Jul 2023 11:34:23 +0200 Subject: fix: 100 results per page --- github_sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'github_sync.sh') diff --git a/github_sync.sh b/github_sync.sh index 61bdd45..d0eb464 100755 --- a/github_sync.sh +++ b/github_sync.sh @@ -70,7 +70,7 @@ function github_update_repo_list() { local JSON_REPOS JSON_REPOS=$(curl_wrapper -u $USERNAME:$TOKEN \ - "$API_BASE/user/repos?visibility=$VISIBILITY"; exit $?) + "$API_BASE/user/repos?visibility=$VISIBILITY&per_page=100"; exit $?) [ $? -ne 0 ] && jq ".message" <<< "$JSON_REPOS" && exit 1 GH_REPOS_COUNT=$(jq ". | length" <<< "$JSON_REPOS") -- cgit v1.2.3