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
I discovered that the error message on invalidated values does only report the first failed check, even if the field allows multiple variants, confusing the user about which measures he can do.
# .github/workflows/sample.ymljobs:
foo:
steps:
- run: echo 123env: ${{ matrix.env }} # <-- line that should fail validation
As github-workflows schema requires either an object for env or a string following a specific pattern, that line should produce a validation error as the pattern does not match current string.
I suspect that #691 (comment) is not working for the same reasons. When we will see a new release?... or where can I download a build from master so I can check if this was fixed.
Describe the bug
I discovered that the error message on invalidated values does only report the first failed check, even if the field allows multiple variants, confusing the user about which measures he can do.
As github-workflows schema requires either an object for
env
or astring
following a specific pattern, that line should produce a validation error as the pattern does not match current string.Expected Behavior
Display a validation message that mentions that
oneOf
multiple conditions needs to be met, so the user can figure-out what he did wrong.Current Behavior
As you can see the error below is incomplete and is misleading the user about not accepting strings.
The text was updated successfully, but these errors were encountered: