Reviews pull requests that touch database migrations and flags operational risks: locking rewrites, destructive changes, missing rollback paths, and unsafe ordering. Posts inline review threads on dangerous statements and a summary verdict.
- Identifier
migration-safety-review- Version
- 1.0.1
- Steps
- 3
- Triggers
- 1
- review
- migrations
- database
- safety
- automated
When it runs
pull_request.opened- Settle delay
- 15s after the event
Only when all hold
- pullRequest.state not equals closed
- 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.
- 01Migration PR Opened
triggerThe event that starts the run.
- 02Clone PR Head Ref
git.cloneShallow-clones the repository at the right ref.
- 03Review Migration Safety
agent.runOne agent works the task with its toolkit.
The agent
Migration Safety Reviewer
- Base type
- Code Reviewer
- Temperature
- 0.1
- Max iterations
- 35
- Tools
- 8
Git provider · 4
get_pull_request_diffGet Pull Request Diff · readread_pull_requestRead Pull Request · readadd_pull_request_review_threadAdd PR Review Thread · writesubmit_reviewSubmit Review · write
Filesystem · 2
read_fileRead File · readlist_dirList Directory · read
Code search · 1
code_searchCode Search · read
Status · 1
update_statusUpdate Status · write
Related playbooks
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.
Code Review
AI-powered PR reviews that flag bugs, security issues, and performance problems inline.