You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: enforce Copilot code review ruleset via sync script (#9)
## Summary
- Add `sync_rulesets()` function to the sync script that creates and
verifies the Copilot code review ruleset on all repositories
- Add ruleset configuration to `config/baseline.json` (deletion
protection, non-fast-forward, Copilot review)
- Add CodeRabbit manual setup note to README (no API available for
automation)
- Add `rulesets` to baseline schema validation in quality-checks.yml
## Test plan
- [ ] Trigger dry-run workflow to verify ruleset drift detection works
- [ ] Verify existing repos with the ruleset show as compliant
- [ ] Test on a repo without the ruleset to confirm creation works
- [ ] Confirm quality-checks pass with new `rulesets` schema section
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added Rulesets support to manage branch protection rules and enforce
Copilot code review on the default branch.
* Implemented automatic Copilot code review enforcement through
configurable rulesets.
* **Documentation**
* Updated configuration documentation to detail the new Rulesets feature
and available rules.
* Clarified code review behavior for both Copilot and CodeRabbit,
including manual setup requirements for CodeRabbit.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
0 commit comments