Hi
I have a project, which stores yaml specs in the same repository it runs a CI for. When I create a PR on BitBucket for this project I expect the pipeline to run, which works fine. My question is though if that PR also modifies yaml specs, these don't get scanned unless they are modified in the default branch. Is there any way to have specs updated also from a feature branch? Does my description make sense? :)
Hi uvv,
Welcome to Atlassian community.
YAML specs scan will work on the default repository which is present in the linked repository in Bamboo ( where specs scan is enabled ).
For example if the main branch has the bamboo.yaml file and you have created the specs repository in Bamboo pointing to this branch then specs scan will work only when changes are committed in the master branch.
what you are looking for here is can be achieved via Enhanced plan branch configuration
https://confluence.atlassian.com/bamboo0906/enhanced-plan-branch-configuration-1376027712.html
Please let me know if this help
**please don't forget to Accept the answer if your query was answered**
Regards,
Shashank Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.