Pipeline per service with shared config

I’d like to configure a set of steps per service in a mono repo, but am struggling to come up with a way that isn’t copy paste between them. Any recommendations?