Skip to content

Commit

Permalink
Fix step depends_on as string in schema (woodpecker-ci#3099)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty287 authored and fernandrone committed Feb 1, 2024
1 parent 909dd0f commit 5f33fe8
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions pipeline/frontend/yaml/linter/schema/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5f33fe8

Please sign in to comment.