Closed erdemedeiros closed 10 months ago
check-jsonschema
gets the schema for GitHub Workflows from Schemastore. Anyone (including me) looking to fix this will need to do a PR there to expand what's allowed by that schema.
I'd love to promise that I'll give it a shot, but my personal backlog has been growing so it may take me a while.
Sure, no problem. Thank you for the update and for taking the time of having a first look at this.
I just got a chance to circle back around on this. I got a fix into schemastore, and just pushed a version of check-jsonschema (v0.26.1) to ship that here.
Let me know if it doesn't work for you, but you should now be able to use expressions in matrix.include
!
Thank you! I confirm the validation passes now!
The rule
check-github-workflows
fails to validate a valid workflow when an expression is used to define the content of the attributematrix.include
. Example:Workaround:
Move the attribute
include
as part of the generated json and and use the expression to define the content of the rootmatrix
: