approvepath

v0.1.0
io.github.CloudCorpRecords/approvepath Checked 22 hours ago Published 29 days ago

Map 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.

ParameterTypeDescription
changed_files *arrayPaths of the files the PR changes
codeowners *arrayCODEOWNERS rules in file order: {pattern, owners}
reviewsarrayPast review activity (optional): {reviewer, files}