It may be possible to use the _brand.yml file to add the information we need for the rbranding_config.yml file. I believe the brand.yml standard allows passing additional metadata.
It will make comparing the remote and local files tricky, because we'll need to account for whether or not the remote file includes that config data or not. It might be best to strip out this meta data from both files (if it exists) before comparing the hashes.
This would allow us to avoid creating more than the necessary files for branding.
It may be possible to use the
_brand.ymlfile to add the information we need for therbranding_config.ymlfile. I believe the brand.yml standard allows passing additional metadata.It will make comparing the remote and local files tricky, because we'll need to account for whether or not the remote file includes that config data or not. It might be best to strip out this meta data from both files (if it exists) before comparing the hashes.
This would allow us to avoid creating more than the necessary files for branding.