Fix step depends_on as string in schema (#3099)

This commit is contained in:
qwerty287 2024-01-01 12:16:36 +01:00 committed by GitHub
parent 6fbf98f1b9
commit 5517d87dd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -346,9 +346,18 @@
},
"depends_on": {
"description": "Execute a step after another step has finished.",
"type": "array",
"items": { "type": "string" },
"minLength": 1
"oneOf": [
{
"type": "array",
"minLength": 1,
"items": {
"type": "string"
}
},
{
"type": "string"
}
]
},
"detach": {
"description": "Detach a step to run in background until pipeline finishes. Read more: https://woodpecker-ci.org/docs/usage/services#detachment",