e-volv

Review playbook

PRTriage

Classifies new PRs by type, size, and risk the moment they open or go ready-for-review.

When a pull request is opened or marked ready for review, classifies it by type, size, and risk, runs hygiene checks (description, linked ticket, tests, target branch, sensitive paths), and posts a single structured triage comment with suggested labels and reviewers. Advisory only — applies no labels or assignments itself.

Identifier
pr-triage
Version
1.2.1
Steps
4
Triggers
2
  • triage
  • review
  • routing
  • automated
  • hygiene

When it runs

Pull requestpull_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 requestpull_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.

  1. 01
    PR Opened / Ready for Reviewtrigger

    The event that starts the run.

  2. 02
    Clone Repositorygit.clone

    Shallow-clones the repository at the right ref.

  3. 03
    Triage Pull Requestagent.run

    One agent works the task with its toolkit.

  4. 04
    Publish Triage Reportreport.publish

    Posts or updates a deduplicated report comment.

The agent

PR Triager

Base type
Senior Developer
Temperature
0.2
Max iterations
25
Tools
8

Git provider · 3

  • get_pull_request_diffGet Pull Request Diff · read
  • read_pull_requestRead Pull Request · read
  • add_labelsAdd Labels · write

Filesystem · 2

  • read_fileRead File · read
  • list_dirList Directory · read

Code search · 1

  • code_searchCode Search · read

Tickets · 1

  • read_ticketRead Ticket · read

Status · 1

  • update_statusUpdate Status · write