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}].
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
and
https://github.com/hdl/containers/actions/runs/1469619022
and
https://github.com/hdl/containers/actions/runs/1469617309
It would be desirable if the syntax was changed to
[{owner}/{repo}/]{path}/{filename}.yml[@{ref}].