Pull Request Status Broken After Repo Name is Changed

I have configured SonarCloud Pull Request Status check for one of my repositories and made it required as part of our PR process. It worked as expected without any issues. Recently I had to change the name of the Repository. It was like Repo Name and it was changed to Repo.Name. After this change the PR status check is not getting updated and we are unable to merge the PRs without manually bypassing the Status check.

How can i fix this? Is there a setting or a parameter where i can set the updated repo URL? I tried looking in the SonarCloud UI but nothing meaningful was found. Some help is much appreciated.

Hi Kasun,

I had a similar issue a couple of weeks ago. What worked for me:

  1. I edited the build definition to point to another repo, and I saved the changes without queueing a build
  2. Then I edited again the build definition to point back to the original repo => next analysis passed


Hi Fabrice,

Thanks a lot. That worked for me as well. :slight_smile:

1 Like