mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 03:41:01 +00:00
Fix step depends_on
as string in schema (#3099)
This commit is contained in:
parent
6fbf98f1b9
commit
5517d87dd6
1 changed files with 12 additions and 3 deletions
|
@ -346,9 +346,18 @@
|
||||||
},
|
},
|
||||||
"depends_on": {
|
"depends_on": {
|
||||||
"description": "Execute a step after another step has finished.",
|
"description": "Execute a step after another step has finished.",
|
||||||
"type": "array",
|
"oneOf": [
|
||||||
"items": { "type": "string" },
|
{
|
||||||
"minLength": 1
|
"type": "array",
|
||||||
|
"minLength": 1,
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"detach": {
|
"detach": {
|
||||||
"description": "Detach a step to run in background until pipeline finishes. Read more: https://woodpecker-ci.org/docs/usage/services#detachment",
|
"description": "Detach a step to run in background until pipeline finishes. Read more: https://woodpecker-ci.org/docs/usage/services#detachment",
|
||||||
|
|
Loading…
Reference in a new issue