Multi route/file extension for blueprint object YAML property
S
Scott Munro
When checking a property on blueprint as file existence e.g
my_workflow: file://.github/workflows/my.yml
it would be useful to offer multiple file extensions without the need to maintain multiple properties e.g.
my_workflow: file://.github/workflows/my.yml
my_workflow: file://.github/workflows/my.yaml
This would save some false positives on scorecards where file extensions differ
S
Sebastien Foo
this would be indeed great to support different extensions and I would also add any case, like My.yaml and my.yaml. especially for readme.md files which can come in many flavor "Readme.md" or "README.md".
Mey be using the uri query part to add optional parameter. something like
file://myfolder/myfile.yaml?case=insensitive&otherextension=yml