Is it possible to reuse workflow yaml to setup similar workflows? #25504
-
Basically, is there any support for using yaml files as templates for other workflow yaml files? Gitlab has a similar feature using the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks @smac89 , workflow template or keyword like ‘extends’ is not supported in Github currently, please create individual workflow file for your configuration. |
Beta Was this translation helpful? Give feedback.
-
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: docs.github.comCreating a composite run steps action - GitHub Docs |
Beta Was this translation helpful? Give feedback.
Thanks @smac89 , workflow template or keyword like ‘extends’ is not supported in Github currently, please create individual workflow file for your configuration.