- ALM used: GitHub
- CI: Travis CI
- Languages of the repository: Java
- Error observed: As the title says, when SonarCloud analyses a pull request that changes the location of a file, it treats old code as new code and fails the quality gate.
Is there any suggested workaround to pass the quality gate or a way to inform Sonar that the two files are the same?