approvepath
v0.1.0Map who must approve a PR: CODEOWNERS rules plus who actually reviews these files.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
map_approvals
Map the approval path for a pull request: apply CODEOWNERS rules to each changed file (last matching rule wins) and report who actually reviews those files, from supplied review history.
| Parameter | Type | Description |
|---|---|---|
changed_files * | array | Paths of the files the PR changes |
codeowners * | array | CODEOWNERS rules in file order: {pattern, owners} |
reviews | array | Past review activity (optional): {reviewer, files} |