Skip to content

Document new YAML anchor support in workflows #40209

@janbrasna

Description

@janbrasna

Code of Conduct

What article on docs.github.com is affected?

CircleCI can reuse pieces of workflows with YAML anchors and aliases. {% data variables.product.prodname_actions %} supports the most common need for reusability using matrices. For more information about matrices, see [AUTOTITLE](/actions/using-jobs/using-a-matrix-for-your-jobs).

What part(s) of the article would you like to see updated?

It hints at anchors and aliases not being available, but they are now.

Additional information

The article above is just an example, I think that actions/runner#1182 should be celebrated by adding a nice piece of documentation embracing that change — and constructing a few nice examples where the anchor & alias makes sense in GHA workflows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamgithub_actionsPull requests that update GitHub Actions code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions