rulesets.json
Branch rulesets in the platform’s native ruleset export format. Export a ruleset from your repository settings upstream and drop the JSON here; Overwire evaluates the same rules locally.
rulesets.jsonholds the primary ruleset.github/rulesets/*.jsonholds any number of additional exported rulesets.
Rulesets feed two surfaces:
- Merge prediction. PR scenarios from
pull-requests.ymlare evaluated against required status checks, review requirements, and other rules to predict whether a merge would pass. - Pre-push validation. The pull requests page in the desktop app shows which rules pass and which block, before anything reaches the platform.
Because the format is the native export, the file round-trips: nothing Overwire-specific is added, and re-exporting from upstream after a rules change is a copy-paste update.
Organization-level rulesets
Section titled “Organization-level rulesets”A workspace can simulate the rules an organization admin would enforce across repositories. Org rulesets live at the workspace config root, keyed by organization name:
<workspace>/.overwire/orgs/<org>/rulesets.json<workspace>/.overwire/orgs/<org>/github/rulesets/*.jsonThe files use the same native export format. Rules from orgs/<org>/ cascade onto every workspace repository owned by that organization and evaluate alongside the repository’s own rulesets, mirroring how organization rules apply on the platform without repository admins being able to override them. Ruleset conditions (such as repository_name) narrow which repositories a rule targets. The desktop app’s Repository → Organization section edits orgs/<org>/rulesets.json in place, preserving rule types it does not model.
The demo workspace ships a working example: two fictional organizations with org-level signed-commit and review requirements layered over per-repository rules.
CODEOWNERS
Section titled “CODEOWNERS”CODEOWNERS evaluation reads your repository’s CODEOWNERS file directly; changed files are scenario input.
Overwire is not affiliated with, endorsed by, or sponsored by GitHub, Inc., Microsoft Corporation, or Docker, Inc. GitHub and GitHub Actions are trademarks of GitHub, Inc.