Sharing code between bitrise.yml s - there’s no built in way right now. You can of course bitrise run --config=/path/to/bitrise.yml from e.g. a Script step, to run another yml, but that’s… a workaround which works, but not elegant enough and certainly could be better.
Feel free to create a Feature Requests for this!
Actually, this one seems to be quite close: