Shell scripts to help manage GitHub org/repo automation (teams, users, repo creation, badges, maintainers).
- Configuration:
lib/config.sh(centralized settings + logging + validation helpers) - Docs:
docs/CONFIGURATION.md - Scripts (in
bin/):create-repos.sh: create repos from a template + apply branch protection + create teamsadd-teams.sh,add-team-to-repo.sh: grant team access to reposadd-users.sh,add-admins.sh: add users/adminsadd-maintainers-file.sh: open PRs addingMAINTAINERS.mdupdate-finos-badges*.sh: update badgesdelete-github-packages.sh: delete GitHub Packages (requiresGITHUB_PAT)
bash- GitHub CLI:
gh(authenticated viagh auth login) jq(some scripts parse JSON)curl(used by some scripts)
-
Review and edit config:
lib/config.sh(org name, hackathon prefix, template repo, etc.)
-
Run a script (many support
--helpand/or--dry-run):./bin/create-repos.sh --help./bin/create-repos.sh --dry-run
- Runtime output is written under
./logs/and is intentionally gitignored. delete-github-packages.shexpects a token inGITHUB_PAT(do not commit tokens).