schema: Validate GH & BBS config have repos OR repositoryQuery
Created by: mrnugget
This fixes #4322 (closed) by changing the validation of external service configurations for GitHub and Bitbucket Server to validate that either repositoryQuery OR repos are set.
Questions for @tsenart & @keegancsmith:
- Is this the right place to put the validators?
- Do I also need to remove
GithubSetDefaultRepositoryQueryMigration
andBitbucketServerSetDefaultRepositoryQueryMigration
?