Our CI process is integrated with SonarCloud. The decoration of our PR works well.
We defined a custom Quality profile to exclude some Smell code. We assigned this Quality profile to a project.
However, while the Quality profile is used correctly within the SonarCloud project summary page, the PR is still decorated with smell code that are disabled in the quality profile. In our understand, that should not happen.
How can we make the PR decoration to match the Quality profile of the project?
We actually disabled all Smell code in the quality profile:
We assigned the quality profile to the project:
I dont have a screenshot at the moment, but we have some comments related to these disabled smell code in our PRs (I will update the ticket once we have a new PR with sonar smell code decoration).
This is an issue raised by native Roslyn analyzers and imported into SonarQube. You can turn these off in your project-level Administration > External Analyzers > C# > Ignore issues from external Roslyn analyzers