mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 18:01:02 +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:
|
||||
path:
|
||||
- ".woodpecker/**"
|
||||
- "pipeline/schema/**"
|
||||
|
||||
vendor:
|
||||
image: *golang_image
|
||||
|
|
|
@ -364,7 +364,12 @@
|
|||
"ports": {
|
||||
"description": "expose ports to which other steps can connect to",
|
||||
"type": "array",
|
||||
"items": { "type": "number" },
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{ "type": "number" },
|
||||
{ "type": "string" }
|
||||
]
|
||||
},
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue