diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-07-25 11:34:23 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-07-25 11:34:23 +0200 |
commit | f6b2696762078ee9a991448e42a3e9d09cbe9007 (patch) | |
tree | 19845e9c224586f70a0eb1906af941ac931a9683 /github_sync.sh | |
parent | 4f5579b634f2a459d1a2fa8bdebc668928a8e501 (diff) | |
download | reposync-master.tar.gz |
Diffstat (limited to 'github_sync.sh')
-rwxr-xr-x | github_sync.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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") |