Skip to content

support a whitelist of owners for validate #33

@jjmschofield

Description

@jjmschofield

To help people support the schema at https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

Where in:

"Invalid syntax includes inline comments and user or team names that do not exist on GitHub."

In a config (somehwere, somehow) create a list of allowed owners and make the validate command respect it.

{
  ...
  "validate":{
    ...
    "owners": {
      "allowed": [
        "@bob"
      ]
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions