Loading video player...
GitHub just rolled out support for YAML anchors in Actions workflows! But when should you use them instead of reusable workflows or custom actions? In this video, I'll show you exactly when YAML anchors shine and when they don't. 🎯 What You'll Learn: • What YAML anchors, aliases, and merge keys are • Real-world use cases where anchors beat reusable workflows • Why GitHub Actions doesn't support merge keys • Live demos of anchors reducing workflow repetition • When to use anchors vs. reusable workflows vs. custom actions 🔗 Resources: • GitHub Docs: https://docs.github.com/en/actions/reference/workflows-and-actions/reusing-workflow-configurations#yaml-anchors-and-aliases • Example workflows from this video: https://github.com/devopselvis/yaml-anchors If this helped you clean up your GitHub Actions workflows, hit that subscribe button and let me know in the comments what you'd like to see next! #GitHubActions #YAML #DevOps #CI #CD