1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00

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",