fix(config): validate remote options
This commit is contained in:
parent
e6faf1ac69
commit
3935172126
|
@ -124,6 +124,21 @@ definitions:
|
|||
type: string
|
||||
remote:
|
||||
type: object
|
||||
required:
|
||||
- data
|
||||
- type
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
enum:
|
||||
- github-remote
|
||||
- gitlab-remote
|
||||
data:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
patternProperties:
|
||||
".*":
|
||||
type: string
|
||||
states:
|
||||
type: array
|
||||
items:
|
||||
|
|
Loading…
Reference in New Issue