Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Copilot Code Review: Automatic PR Reviews, Requiring Them with Rulesets, Steering with Instructions and Limits
Copilot code review reads instructions from the pull request's head branch and never looks at some files, such as tsconfig.json and lock files, so a pull request can loosen its own review rules. We showed this with a script in Bookstore. Automatic reviews and a ruleset JSON, effort levels and cost, review instructions and a code-review skill, Copilot approvals and the split with human review.
The Review Process on GitHub: CODEOWNERS, Rulesets, Suggested Changes, Merge Queue, Bots and Metrics
On GitHub the review agreement moves into the platform through CODEOWNERS, rulesets and team assignment; but two teams on one CODEOWNERS line mean 'either of them', and a second required approval is set up with the ruleset's required reviewers rule. The post shows a ruleset JSON kept in the repository, suggested changes, merge queue with the merge_group trigger, the labeler and Dependabot, where Copilot approvals fit and a tool that derives review metrics from gh output.