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.
It would be desirable if the syntax was changed to
You reference reusable workflow files using the syntax:
invalid value workflow reference: references to workflows must be rooted in ‘.github/workflows’
invalid value workflow reference: no version specified