You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using commands & entrypoint at the same step to change the executing shell the WebUI & VSCode show a warning that the step matches multiple schemas but must match only one.
"description": "A step of your workflow executes either arbitrary commands or uses a plugin. Read more: https://woodpecker-ci.org/docs/usage/workflow-syntax#steps",
"oneOf": [
{
"$ref": "#/definitions/commands_step"
},
{
"$ref": "#/definitions/entrypoint_step"
},
{
"$ref": "#/definitions/plugin_step"
}
]
},
as these only allow one of commands and entrypoint
Steps to reproduce
Create workflow with a step using commands and entrypoint
Component
server, web-ui
Describe the bug
When using commands & entrypoint at the same step to change the executing shell the WebUI & VSCode show a warning that the step matches multiple schemas but must match only one.
I suspect the following lines
woodpecker/pipeline/frontend/yaml/linter/schema/schema.json
Lines 228 to 241 in 42e7d71
as these only allow one of commands and entrypoint
Steps to reproduce
Create workflow with a step using commands and entrypoint
Expected behavior
No warnings should be issued as using commands and entrypoint at the same time is described in the docs to change the executing shell. (https://woodpecker-ci.org/docs/usage/workflow-syntax#entrypoint
System Info
Additional context
No response
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: