From 119f3ad925d7ec75e80f6674f6a264371c8f4a10 Mon Sep 17 00:00:00 2001 From: Saravana Dhandapani Date: Sat, 8 Feb 2025 21:11:26 -0800 Subject: [PATCH] fix: scan only private repos --- list_repos_contributors_by_user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/list_repos_contributors_by_user.sh b/list_repos_contributors_by_user.sh index eb3cfff..29db340 100644 --- a/list_repos_contributors_by_user.sh +++ b/list_repos_contributors_by_user.sh @@ -2,7 +2,7 @@ # List all repositories for the user REPOS=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \ - "https://api.github.com/users/$GITHUB_USER/repos?per_page=100" | jq -r '.[].name') + "https://api.github.com/users/$GITHUB_USER/repos?per_page=100&visibility=private" | jq -r '.[].name') echo "Fetching contributors from all repositories..." for REPO in $REPOS; do