I have a load of #git repositories, all of which contain broadly the same YAML files to control #Github workflows for CI. I would like to consolidate them so that the vast majority of their contents which is shared in common is stored in one place. Obviously I could write some code to do this and have it rebuild those files and commit changes to each of the repos, but that is ... inelegant. 1/n
So I am looking for a tool. Ideally I want to store the bulk that is shared in common in one repo, and then have the moral equivalent of a bunch of `#include`s in each project, *which Github actions will understand* so that they Do The Right Thing. 2/n
Alternatively, if I need to do it the inelegant way by storing complete YAML files in each project's repo but at least building them from templates - can anyone recommend a tool? 3/3