From 68d9a86aaa0e7f02df666a1cccb0a55949b8b131 Mon Sep 17 00:00:00 2001
From: Renee Margaret McConahy <nepeta@msu.edu>
Date: Tue, 7 Apr 2020 14:33:30 -0400
Subject: [PATCH] bin/download-github-repos: Correct bug.

This previously downloaded each repo over ssh, which needlessly required
authentication.
---
 bin/download-github-repos | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/download-github-repos b/bin/download-github-repos
index 02a03ae..6e692b4 100755
--- a/bin/download-github-repos
+++ b/bin/download-github-repos
@@ -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
 }
 
-- 
GitLab