False positive object, array, and null values should not be evaluated in template with ${{ }}
with lists in matrix
#77
Labels
question
Further information is requested
Hi,
I think I might found a bug related to feature added in v1.6.2,
actionlint now checks evaluated values at ${{ }} are not an object nor an array since they are not useful
Example below produces this error, however it's a valid workflow and recommended for self-hosted runners (multiple tags to select runner).
https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#example-7
Link to playground
Error message:
object, array, and null values should not be evaluated in template with ${{ }} but evaluating the value of type array<string> [expression]
Example:
I tried to change it to
${{ toJSON(matrix.runner) }}
, actionlint passes after that, but workflow is broken after that.The text was updated successfully, but these errors were encountered: