fix: scan only private repos

This commit is contained in:
Saravana Dhandapani 2025-02-08 21:11:26 -08:00
parent 47bfcff7c9
commit 119f3ad925

View File

@ -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