-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Describe the enhancement
Although the documentation does not specify the limitation, it seems that reusable workflows must be located in .github/workflows. Moreover, specifying the version is necessary. Therefore, it is not possible to have a reusable workflow in the current branch.
See
https://docs.github.com/en/actions/learn-github-actions/reusing-workflows#calling-a-reusable-workflow
You reference reusable workflow files using the syntax:{owner}/{repo}/{path}/{filename}@{ref}
and
https://github.com/hdl/containers/actions/runs/1469619022
invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
and
https://github.com/hdl/containers/actions/runs/1469617309
invalid value workflow reference: no version specified
It would be desirable if the syntax was changed to [{owner}/{repo}/]{path}/{filename}.yml[@{ref}].