auto-request-review icon indicating copy to clipboard operation
auto-request-review copied to clipboard

"explode" GitHub team when using as a reviewer group

Open pd93 opened this issue 1 year ago • 0 comments

In our pipeline we have a config similar to this:

reviewers:
  defaults:
    - team:a

  # Reviewer groups each of which has a list of GitHub usernames
  groups:
    a:
      - team:a
    b: 
      - team:b
     
  "**/*.go":
    - team:a
  "**/*.js":
    - team:b

options:
  ignore_draft: true
  number_of_reviewers: 2

At the moment, this will assign the actual GitHub team for the given file changes. I would like it to assign 2 users from inside these teams instead of the team as a whole. Is this possible? It would allow us to manage the groups via GitHub rather than listing users in the config manually which requires us to commit changes any time the teams change.

pd93 avatar Jul 14 '23 15:07 pd93