mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 09:51: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": {
|
||||
"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",
|
||||
|
|
Loading…
Reference in a new issue