I'm not sure if I understood what exactly you're trying to do but, as you know, the YAML file only carries the settings that Bamboo will use to generate your build plans. If you are currently using repository stored YAML specs, all changes to the YAML file will be automatically reflected in your plans so technically, you are already storing the configuration in your repository. Please take a look at the following tutorial, it might be helpful:
Let us know if you have any other concern regarding this approach.
G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events