News for hackers. Stuff that matters.
Re:GitHub Actions now supports YAML anchors by slorber on Monday August 04, 2025 @11:37AM (#44787325)
We have been waiting for years to have that typical Yaml feature.

This lets you create variables in your Yaml actions workflows that you can reuse later, including more complex data structures like objects and lists that you can spread into jobs.

TLDR: less duplication, although the syntax is a bit awkward.

Re:GitHub Actions now supports YAML anchors by verdverm on Monday August 04, 2025 @02:47PM (#44789889)
YAML anchors are awful for comprehension

Use a proper config language like CUE and emit the YAML