upvote
The YAML spec/parse _itself_ does interpolation and logic - incorrectly in some cases. YAML is pretty much never the right solution.
reply
Assigning an env var to an empty variable (env: { myvar: ${{unsetfoo}} }) should trigger an error, not silently pass an empty string.
reply
What does that have to do with YAML?
reply
It has to do with the gha bastardization of yaml, which clearly learned nothing from ansible's deficiencies.
reply
> It’s find for actions and workflows as long as you do no interpolation and logic.

How do you specify actions and workflows without interpolation and logic kind sir?

reply
Run the same script for all of the workflow triggers and pass relevant vars into the script as environment variables.
reply