authors
Scopes can be matched to specific pull request authors. This can be used to target PRs opened by a specific bot or specific team members. Note that paths
are still required.
# CODEREVIEW.toml
[[scopes]]
name = "dependabot"
paths = ["**/*"]
authors = ["dependabot"]
reviewers = ["dev1", "dev2"]
Authors can also reference aliases
.
# CODEREVIEW.toml
[aliases]
junior-devs = ["junior-dev1", "junior-dev2"]
senior-devs = ["senior-dev1", "senior-dev2"]
[[scopes]]
name = "junior-review"
paths = ["**/*"]
authors = ["$junior-devs"]
reviewers = ["$senior-devs"]