fix: scan only private repos
This commit is contained in:
parent
47bfcff7c9
commit
119f3ad925
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user