Hacker News
new
past
comments
ask
show
jobs
points
by
fmbb
22 hours ago
|
comments
by
RHSeeger
22 hours ago
|
next
[-]
The YAML spec/parse _itself_ does interpolation and logic - incorrectly in some cases. YAML is pretty much never the right solution.
reply
by
NewJazz
22 hours ago
|
prev
|
next
[-]
Assigning an env var to an empty variable (env: { myvar: ${{unsetfoo}} }) should trigger an error, not silently pass an empty string.
reply
by
ezfe
22 hours ago
|
parent
|
[-]
What does that have to do with YAML?
reply
by
NewJazz
20 hours ago
|
parent
|
[-]
It has to do with the gha bastardization of yaml, which clearly learned nothing from ansible's deficiencies.
reply
by
formerly_proven
21 hours ago
|
prev
|
[-]
> 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
by
NewJazz
20 hours ago
|
parent
|
[-]
Run the same script for all of the workflow triggers and pass relevant vars into the script as environment variables.
reply