mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 02:11:01 +00:00
Update jsonschema and pipeline linting
This commit is contained in:
parent
d2556a0613
commit
1e8d4cc455
2 changed files with 7 additions and 1 deletions
|
@ -19,6 +19,7 @@ pipeline:
|
||||||
when:
|
when:
|
||||||
path:
|
path:
|
||||||
- ".woodpecker/**"
|
- ".woodpecker/**"
|
||||||
|
- "pipeline/schema/**"
|
||||||
|
|
||||||
vendor:
|
vendor:
|
||||||
image: *golang_image
|
image: *golang_image
|
||||||
|
|
|
@ -364,7 +364,12 @@
|
||||||
"ports": {
|
"ports": {
|
||||||
"description": "expose ports to which other steps can connect to",
|
"description": "expose ports to which other steps can connect to",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": { "type": "number" },
|
"items": {
|
||||||
|
"oneOf": [
|
||||||
|
{ "type": "number" },
|
||||||
|
{ "type": "string" }
|
||||||
|
]
|
||||||
|
},
|
||||||
"minLength": 1
|
"minLength": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue