How to merge YAML arrays?
If the aim is to run a sequence of shell commands, you may be able to achieve this as follows: # note: no dash before commands some_stuff: &some_stuff |- a b c combined_stuff: – *some_stuff – d – e – f This is equivalent to: some_stuff: “a\nb\nc” combined_stuff: – “a\nb\nc” – d – e – … Read more