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
Ran into this too — the matrix ref path only accepts a literal []any, so anything computed via template functions like splitList (which resolve to []string) gets rejected even though it's a perfectly good list. I've got a small fix ready (type-switch mirroring what itemsFromFor already accepts) plus tests; opening a PR shortly.
Activity
trulede commentedon Dec 5, 2025
Yeah, the type switch matches on
[]anybut you have a[]stringand so it does not match.task/variables.go
Line 419 in 2161f33
The solution might be to use reflection:
no-hup commentedon Aug 4, 2026
Ran into this too — the matrix ref path only accepts a literal
[]any, so anything computed via template functions likesplitList(which resolve to[]string) gets rejected even though it's a perfectly good list. I've got a small fix ready (type-switch mirroring whatitemsFromForalready accepts) plus tests; opening a PR shortly.