Hello,
We recently connected SonarCloud to our GitHub repository. Once connected, the automatic analysis started immediately, which has been very convenient. After setting up all the Quality Gate rules in SonarCloud, we tried making the SonarCloud workflow required so that every PR would have to pass the Quality Gate.
However, we ran into a problem: we are using GitHub’s merge queue, and the SonarCloud workflow does not work properly within the merge queue. This prevented anyone from merging PRs, so we had to revert the enforced policy.
My first attempt to solve this was to create a dummy workflow with the same name inside the merge queue that would always succeed, so it could satisfy the required condition. But the SonarCloud GitHub workflow job is named "SonarCloud Code Analysis", and GitHub workflows do not allow job names with whitespace. Because of this, I couldn’t implement this idea.
This has put us in a difficult situation. How can we resolve this issue?