logoalt Hacker News

fmbbyesterday at 3:25 PM3 repliesview on HN

It’s find for actions and workflows as long as you do no interpolation and logic.

Better move as much of that as possible into your own scripts. And your scripts can be portable between forges, and even run locally!


Replies

RHSeegeryesterday at 3:44 PM

The YAML spec/parse _itself_ does interpolation and logic - incorrectly in some cases. YAML is pretty much never the right solution.

NewJazzyesterday at 3:31 PM

Assigning an env var to an empty variable (env: { myvar: ${{unsetfoo}} }) should trigger an error, not silently pass an empty string.

show 1 reply
formerly_provenyesterday at 3:58 PM

> 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?

show 1 reply