What problem does it solve?
Safe-settings turns slow, error-prone GitHub UI changes into consistent org-scale policy management by continuously reconciling repository settings from versioned YAML in a single admin repo.
Core Features & Use Cases
- Org-scale settings as code: manage repo metadata, merge button behavior, security toggles, branch protection classic settings, and modern rulesets across many repositories.
- Layered configuration model: apply org-wide baselines, then override by suborg group and finally per-repo overrides, with the deeper layer winning.
- Guardrailed drift control: provides a reconciliation workflow via a scheduled GitHub Actions sync (or a hosted Probot path) to keep live settings aligned to YAML, including dry-run/validation behaviors.
Quick Start
Run the safe-settings workflow for your admin repo by setting the required variables and secrets on the admin repo, then trigger the safe-settings.yml workflow to perform the first full sync.