diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 5f56a9bb9..36877131e 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -19,6 +19,7 @@ pipeline: when: path: - ".woodpecker/**" + - "pipeline/schema/**" vendor: image: *golang_image diff --git a/pipeline/schema/schema.json b/pipeline/schema/schema.json index 799b2ec8d..6b3a509a5 100644 --- a/pipeline/schema/schema.json +++ b/pipeline/schema/schema.json @@ -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 } }