The `helm-unittest` updatecli target should be of type `file` instead of `yaml`
Closed this issue · 4 comments
The target
helm-charts/updatecli/updatecli.d/helm-unittest.yaml
Lines 25 to 32 in 3e42c70
file
to avoid updatecli YAML parser adding a null
after workflow_dispatch
while it shouldn't: #706 (comment)
I've removed the null
manually. For GitHub workflow_dispatch:
is valid and the correct syntax, while the YAML parser used by updatecli wants to add a null
to it: workflow_dispatch: null
-
There are no differences in strict YAML between
workflow_dispatch:
,workflow_dispatch: null
or even ``workflow_dispatch: Null: that is why the parser is correct, but it's *visually* annoying. Ref. the YAML specification for
null` https://yaml.org/type/null.html -
There are no differences in GHA (functionally speaking) between
workflow_dispatch:
,workflow_dispatch: null
andworkflow_dispatch: {}
: the 3 syntaxes enable the button to trigger manually a build. So wether you've removed thenull
value or not , the feature is correct: hence my question "what is the problem you want to solve"
Again, using a file with a pattern is hard to keep (the amount of fixes we've had to fix over time...) compared to a native YAML system. If there are no problem, I don't understand why we should trade the native resource with another?
As you said, it's visually annoying, that's all.
As there is only one dependency to keep up to date, the compromise didn't seem too big for me.
Your explanations are clear, closing this issue.