-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Cleanup Process #9
Comments
Plan is to archive all the unused repositories to Azure DevopsGenetrated a spreadsheet of github unused repositories with respective owners(last updated) ACCESS_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" API_ENDPOINT="https://api.github.com/user/repos?type=private&page=1&per_page=100" CSV_FILE="github_repos.csv"
get_last_updated_date() { echo "Git Repo Name,Last Updated,Owner,Last Updated By" > "$CSV_FILE" repos_response=$(curl -s -H "Authorization: token $ACCESS_TOKEN" "$API_ENDPOINT") while IFS=$'\t' read -r repo_full_name owner; do
done <<< "$repos_list" |
Generated spreadsheet for outside collaborators ACCESS_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
echo "Collab User" > $CSV_FILE |
Currently GitHub is on a legacy plan and pre-requisite is to trim down the user list on GitHub before it can be upgraded to the right plan. Trying to archive or delete unused repos by coordinating with the team.
@benjwadams @patrick-tripp @mpiannucci @jonmjoyce @DonaldMoretti
The text was updated successfully, but these errors were encountered: