GitHub Actions now supports YAML anchors
github.com
GitHub Actions now supports YAML anchors
1–3 of 3 posts
Re: GitHub Actions now supports YAML anchors
#2We 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
#3YAML anchors are awful for comprehension
Use a proper config language like CUE and emit the YAML