-
Notifications
You must be signed in to change notification settings - Fork 65.6k
Closed
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content team
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's 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 docs currently state:
Reusable workflows are YAML-formatted files, very similar to any other workflow file. As with other workflow files, you locate reusable workflows in the
.github/workflowsdirectory of a repository. Subdirectories of theworkflowsdirectory are not supported.
But the example yml then presents the path:
uses: ./.github/actions/my-action
This doesn't follow the initial advice about location of workflow files, and creates confusion.
I'd like the example yml to reflect the written docs to reduce confusion please.
Additional information
No response
Metadata
Metadata
Assignees
Labels
actionsThis issue or pull request should be reviewed by the docs actions teamThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content team