Skip to content

Fix misleading example of reusable workflows #19904

@dne

Description

@dne

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/actions/using-workflows/reusing-workflows

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

The example reusable workflow in this article can lead newcomers to mix up reusable workflows with local actions.

A recent change from #15481 made this worse/more misleading. I propose to at least revert c9186d0 and maybe add a comment that the example references an action not a reusable workflow.

Additional information

I just spent some time trying (and failing) to use a reusable workflow as a step in a workflow job because I was mislead by this example, as have other users apparently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    actionsThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamhelp wantedAnyone is welcome to open a pull request to fix this issuewaiting for reviewIssue/PR is waiting for a writer's review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions