Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to use a subfolder for github reusable worklow?

I'm going to create a reusable ("called") GitHub workflow and would like to store it in a separate folder, for example, ".github/workflows/public" but got an error "Missing the full path for reusable workflow" in a caller workflow file. Is it the restriction of GitHub to store workflows only in ".github/workflows" folder?

like image 849
Alexey Veselov Avatar asked Dec 30 '25 10:12

Alexey Veselov


1 Answers

According to the official documentation

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/workflows directory of a repository. Subdirectories of the workflows directory are not supported.

So the answer to your question is no, it's not possible.

like image 52
GuiFalourd Avatar answered Jan 02 '26 04:01

GuiFalourd