derberg / manage-files-in-multiple-repositories

GitHub Action that introduces support for global workflows. Global workflows are the one you update in just one repo and they are automatically updated in other repositories.
MIT License
51 stars 18 forks source link

files in subdirectories #35

Closed stockf closed 2 years ago

stockf commented 2 years ago

This is somewhere in between a bug and a feature request.

Describe the bug

It's not possible to have the files to copy over in a subdirectory but copy it to a different directory.

How to Reproduce

Expected behavior

I would expect that it is possible to group my actions in a subdirectory and have them copied to a different directory. E.g. when I have two different dependabot.yml configurations for projects of type A and B. The filename is also preserved, so currently it is impossible to service this use case.

derberg commented 2 years ago

Hey, I described in docs that patterns_to_include works based on include function, so you can just provide folder name like patterns_to_include: 'workflows-a'

but yeah .github/workflows/workflows-a/action.yml is definitely a bug, thanks!

derberg commented 2 years ago

it is fixed with latest