GitHub administration guides
These guides are for maintainers and organization owners who keep GitHub repositories safe and consistent. They are grouped into two pages: one about who can change what (repository governance), and one about automation infrastructure (GitHub Actions secrets, runners, packages and webhooks). Read them in the order below the first time you set up a repository or an organization.
Reading path
Section titled βReading pathβ- Repository governance: protect branches and decide who can change what.
- Rulesets and branch protection: pull requests, approvals, status checks, no force pushes.
- Branch naming rules: reject branches that do not follow the convention.
- Code owners: mandatory reviews from the owners of sensitive paths.
- Pull request and issue templates: templates and issue forms.
- Teams and permissions: repository roles, base permissions and nested teams.
- GitHub Actions and automation: the infrastructure behind CI/CD and integrations.
- Secrets and variables: organization, repository and environment scopes.
- Self-hosted runners: registration, labels, ephemeral runners and their risks.
- Publishing packages: GitHub Packages with
GITHUB_TOKEN. - Webhooks: delivering events to external systems and verifying signatures.
Where to go next
Section titled βWhere to go nextβ- Copilot best practices: policies and review rules for AI-assisted pull requests.
- Git branching strategies: the workflow these rules support.
- GitLab administration guides: the same tasks on GitLab.
- GitHub overview: the start page for the GitHub section.