I looked at the documentation and couldn't find any way to reuse code with GitHub Actions.
Let's say I have two different .yml files in my .github/workflows/ folder, one per environment (staging, prod), how can I reuse parts of the common logic without duplicating the configuration?
Yaml/yml doesn't handle imports natively, but maybe there is an alternative?