Admittedly, sometimes it's just easier to put an expression in directly instead of using, e.g., environment variables. And sometimes, we may be certain that an expression's value is trusted. Inspired by zizmor, we could consider improving ades by always allowing:
We could also consider ignoring expressions that cannot output anything other than true or false, e.g. because they use the contains function, as mentioned in the release notes for actionlint v1.7.4.
Relates to #145, https://github.com/ericcornelissen/ades/issues/360#issuecomment-2453371475
Summary
Admittedly, sometimes it's just easier to put an expression in directly instead of using, e.g., environment variables. And sometimes, we may be certain that an expression's value is trusted. Inspired by
zizmor
, we could consider improvingades
by always allowing:${{github.event_name}}
).${{matrix.xyz}}
expressions for staticmatrix:
values.