I'm want to store metadata per GIT repository such as which branches to use during CI/CD processes.
It seems natural to store the relevant metadata within each GIT repository, however, then the metadata itself is branched.
If I store the metadata within GIT, then each time the file is changed i.e. each time it is merged back into the master branch, the merge will trigger a build.
Question: Is there a way to ignore a specific file in (all repositories') build trigger?
I would also appreciate comments/answers on other ways to solve the root problem - storing metadata on the repositories to be used by CI/CD processes.
Alternative I am considering: Store this metadata in a database, however, then, as the metadata will not be stored near the branches, I am afraid developers may forget to set or update it.