GitHub Actions now supports YAML anchors

1 slorber 1 8/4/2025, 3:37:59 PM github.com ↗

Comments (1)

slorber · 2h ago
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.