I’ve defined my service and corresponding db using the render.yaml approach and set previewsEnabled: true in order to create a preview environment on each PR. This works and a environment is created on each PR, but the code it is created from is the main branch instead of the branch to be merged in.
This seems incorrect to me since I would imagine we would want to create the services from the commits in the PR instead of main? Is there a setting in the render.yaml that needs to be set in order to allow for render to use the latest code in the PR when creating the preview environment?