Skip to main content
Version: 3.16.0

Assign reviewers in a sequence

In certain cases, it is very useful to specify an order in which the pull request should be reviewed.

For example, the following configuration enforces that changes to files in the database migration files will be first reviewed by john and only when john approves the changes it will be reviewed by the security team.


- name: security-changes
trigger: $hasFilePattern("services/db/migrations/**")
- actions:
- $assignReviewer(["john"], "random")
until: $reviewerStatus("john") == "APPROVED"
- actions:
- $assignTeamReviewer(["security"])