GH_TOKEN="1234" ORG_NAME="some-org" curl -H "Authorization: token ${GH_TOKEN}" https://api.github.com/orgs/${ORG_NAME}/repos | jq -r '.[].url' > /tmp/repos rm /tmp/repos 2>/dev/null while read REPO;do curl -H "Authorization: token ${GH_TOKEN}" ${REPO}/contributors 2>/dev/null | jq -r '.[].login' >> /tmp/users done < /tmp/repos cat /tmp/users | sort -u | wc -l