Is it possible to reuse workflow yaml to setup similar workflows?

Basically, is there any support for using yaml files as templates for other workflow yaml files?

Gitlab has a similar feature using the include keyword to include workflow templates; and in addition the extends keyword can be used to share small bits of yaml within the same yaml file


Thanks @smac89 , workflow template or keyword like ‘extends’ is not supported in Github currently, please create individual workflow file for your configuration.

This may not have been available in Dec '19, but a “Composite Run Steps Action” (just flows off the tongue, doesn’t it?) is probably your best option for re-using YAML logic in Github actions: