Whitelist Teams for Review Assignment

Step-by-step guide on whitelisting teams for automatic reviewer assignment in FlexReview.

When onboarding a large org, it may be preferred to test out reviewer assignment for a select number of pull requests. There are a couple of ways to do selective reviewer assignment.

Whitelist by reviewers

To enable FlexReview reviewer assignment for a given GitHub team, go to Teams section in Dashboard, and select the desired team in the dropdown. For this view, click "Enable FlexReview Team".

Enable FlexReview Team

Once enabled, you should be able to navigate to the Team Config and ensure that "Expert Review" is selected for in the Review Assignment section.

Review Assignment

Whitelist by authors

It may be desired to only assign reviews for the pull requests that are authored by specific users or specific teams. This can be configured at the repository level.

Go to Repositories > FlexReview Status > Configure for the repository that you want to enable this for.

FlexReview Configure

Go to "Author Allowlist". Here you can specify either a user or a team (one per-line) that would be whitelisted for reviewer assignments. Syntax is @username for users and @org/team for teams. By default all authors are part of the allowlist, this is represented by a special marker *.

Author Allowlist

Working with both

Please note that these whitelists act as AND-gates, that means a pull request will be assigned a reviewer when it satisfies bot the authors and the reviewers whitelists.

See also

Last updated

Was this helpful?