When a pull request is opened, matches the changed files against the repository's CODEOWNERS and requests review from the responsible owners (users and teams), excluding the PR author. Posts a short note explaining who was requested and why. Does nothing if there's no CODEOWNERS file.
- Identifier
reviewer-request- Version
- 1.1.0
- Steps
- 4
- Triggers
- 2
- review
- routing
- codeowners
- automated
When it runs
pull_request.opened- Settle delay
- 15s after the event
Only when all hold
- pullRequest.isDraft not equals true
- actor.username not in dependabot, dependabot[bot], renovate, renovate[bot], github-actions, github-actions[bot]
- actor.username not contains [bot]
pull_request.ready_for_review- Settle delay
- 15s after the event
Only when all hold
- actor.username not in dependabot, dependabot[bot], renovate, renovate[bot], github-actions, github-actions[bot]
- actor.username not contains [bot]
The pipeline
The graph below is the one the workflow opens with in the builder — same steps, same layout, drawn on the same canvas. The run playing through it is a simulation; the branches and conditions are real.
- 01PR Opened / Ready
triggerThe event that starts the run.
- 02Clone Repository
git.cloneShallow-clones the repository at the right ref.
- 03Match CODEOWNERS & Request Reviewers
agent.runOne agent works the task with its toolkit.
- 04Publish Reviewer Request Report
report.publishPosts or updates a deduplicated report comment.
The agent
Reviewer Router
- Base type
- Senior Developer
- Temperature
- 0.1
- Max iterations
- 20
- Tools
- 5
Git provider · 2
get_pull_request_diffGet Pull Request Diff · readrequest_reviewersRequest Reviewers · write
Filesystem · 2
read_fileRead File · readlist_dirList Directory · read
Status · 1
update_statusUpdate Status · write
Related playbooks
PR Triage
Classifies new PRs by type, size, and risk the moment they open or go ready-for-review.
Accessibility Audit
Reviews UI PRs for accessibility defects, posts inline threads citing WCAG criteria, and submits a summary review.
API Contract Breaking-Change Detector
Detects breaking changes in published API contracts, names affected consumers, and labels the PR.