Hello,
We have had some issues with Sonarcloud in one of our repos. The scan identifies a critical bug when running the pipeline after a Pull Request merge, but it does not when running the scan against the Pull Request branch; also worth noting that the bug identified by the scan is not in a file changed by the Pull Request.
The bug itself is also a bit strange: a csharpsquid:S2259 error is triggering on a line that has null coalescing setup and on a value that it is assumed not to be null in code before that line.
We are unsure why the scan is only failing on the run triggered by the merge and why it is picking up that line as a bug.
Please let me know if you need any other details,
Cosmin