Assign Reviewers Based on Workload
Assign the senior developer with the lighter workload to the pull request
groups:
- name: seniors-developers
type: filter
param: dev
where: $pullRequestCountBy($dev) > 30
workflows:
- name: reviewer-assignment-based-on-workload
run:
- if: $isDraft() == false
then: $assignReviewer($group("seniors-developers"), 1)