Skip to content
Snippets Groups Projects
Commit 68d9a86a authored by McConahy, Renee Margaret's avatar McConahy, Renee Margaret
Browse files

bin/download-github-repos: Correct bug.

This previously downloaded each repo over ssh, which needlessly required
authentication.
parent 3e9e7797
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ get_repo_urls() {
# Math is hard.
for ((page = 1; page <= (n + 99) / 100; page++)); do
curl -s "$GITHUB_API/users/$org/repos?page=$page&per_page=100" |
jq -r ".[].ssh_url"
jq -r ".[].git_url"
done
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment