we need to change the repo that a magento cloud project uses. Like if we were migrating from GitHub to BitBucket. How could we do that?
you can follow this article to change your repo for cloud projects.
magento-cloud integration:add --type=github --project=yourprojectid --token=yourtoken --repository=Magento/teamrepo