Reputation: 163
I have a GitHub action workflow that I want to be used on every repository in our company. but I dont want to manually copy the workflow into every repository. is there a way to make the workflow applied to every repository?
Upvotes: 6
Views: 1878
Reputation: 2322
You can make your workflow run another yml-file/workflow in a submodule that you add to every repository once. Once you have that you only need to edit that workflow in the submodule and it will change for all your repos.
Upvotes: 0