We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2de05f commit e82c880Copy full SHA for e82c880
generator/app.go
@@ -477,6 +477,11 @@ func (c *Context) Validate() []error {
477
}
478
for prefix, persons := range group.Leadership.PrefixToPersonMap() {
479
for _, person := range persons {
480
+ if person.GitHub == "" {
481
+ errors = append(errors, fmt.Errorf("%s: %s: github is empty but should be set", group.Dir, prefix))
482
+ // without github key we can't check the rest, and this is going to fail validation anyhow
483
+ continue
484
+ }
485
if val, ok := people[person.GitHub]; ok {
486
// non-emeritus must have email and company set
487
if prefix != "emeritus_lead" {
0 commit comments