What is GitHub Safe-Settings?
main-enterpriseGitHub Safe-Settings is a policy-as-code tool for GitHub Organizations. It allows you to centrally manage and enforce repository settings, branch protections, teams, and other configurations across your entire organization using YAML files stored in a central repository.
Key features include:
- Centralized Management: All settings are stored in a single
adminrepository rather than in individual target repositories. - Hierarchical Configuration: Settings can be applied at the Organization, Sub-organization, or Repository level.
- Dry-Run Validation: When changes are proposed via Pull Request to the admin repository, the app runs in
dry-runmode to validate changes before they are applied to the default branch. - Drift Prevention: Supports scheduled syncs to ensure target repositories stay in compliance with the defined configuration.