Skip to content

Support usernames blacklist for a repository #18

Description

@garno

Sometimes, someone might feel like he has lost track of a projet for various reasons. If that is the case, he might not be the appropriate person to review a Pull Request and he’s taking the spot of a more relevant reviewer.

To prevent this, we could allow a per-repository configuration with a blacklist.

{
  "repositories": {
    "mirego/dispatch": {
      "blacklist": [
        {
          "username": "garno"
        }
      ]
    }
  }
}

By keeping the same structure as the global blacklist, we can simply merge both of them before making the final reviewers selection.

This is the first time we’re adding repository configuration outside the query params. Thoughts? It could be use for various other improvements.

✌️

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrfcRequest for comments on new features

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions