Using a git submodule for github actions

I’m currently working on adding Github Actions to our repositories; this has involved a lot of repetitive copy-pastes. Another issues has been keeping the code between these repositories in-sync because of new requirements and things such as changes to the functionality of Github Actions (an example here:

My attempts at this having the .github/workflows directory have been futile. Is anyone aware if there is a way to get this to work.

Any info/help would be me very much appreciated.

As far as I know that’s not supported. The closest thing would be to create a composite run steps action, which as you might guess from the name is a collection of run: steps you can reuse. Unfortunately uses: is not supported in composite actions yet, though it is planned: