Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support a whitelist of owners for validate #33

Open
jjmschofield opened this issue Aug 4, 2020 · 0 comments
Open

support a whitelist of owners for validate #33

jjmschofield opened this issue Aug 4, 2020 · 0 comments

Comments

@jjmschofield
Copy link
Owner

jjmschofield commented Aug 4, 2020

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"
      ]
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant