Common steps for all workflows?

In most of my runners, the first couple of steps are identical, since they setup a common environment. Is it possible to bundle common steps in one place and use them from other workflows? It is error prone to maintain these steps in every workflow independently.

That sounds like using the recently introduced composite actions might help. They allow you to combine a bunch of run steps into a reusable action. Note that using other actions in composites is not supported yet, so you’d still have to do things like checkout in each workflow.


using other actions in composites

is supported, this is exactly what I need. Do you know if there is a timeline on that?

Unfortunately not, I don’t have access to Github’s internal planning either. I only know they’re working on it:

1 Like