Update jsonschema and pipeline linting

This commit is contained in:
6543 2022-07-19 15:06:08 +02:00
parent d2556a0613
commit 1e8d4cc455
No known key found for this signature in database
GPG key ID: C99B82E40B027BAE
2 changed files with 7 additions and 1 deletions

View file

@ -19,6 +19,7 @@ pipeline:
when: when:
path: path:
- ".woodpecker/**" - ".woodpecker/**"
- "pipeline/schema/**"
vendor: vendor:
image: *golang_image image: *golang_image

View file

@ -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
} }
} }