When initializing a new repository, it would be useful to automatically configure branch protection rules, required status checks, and other repository settings using the gh CLI (or GitHub API via gh api).
This could be part of the repo setup tooling so new repos don't require manual configuration steps in the GitHub UI.
Things to consider:
- Branch protection rules (require PR reviews, status checks, signed commits, etc.)
- Default branch settings
- Repository features (issues, wiki, projects)
- Potentially as a
frequenz-repo-config command or nox session