Sonal rules are not getting validated for Pull request (merge request code scan).
the scan is working on branch’s and able to see the code smells. but the scan is not getting executed for pull request.
When i verified the sonar scan report on pull request. I have noticed a warning. Warning: Could not find ref ‘development’ in refs/heads, refs/remotes, refs/remotes/upstream or refs/remotes/origin. You may see unexpected issues and change.
I have verified the ref in Git. the branch is available.
8eb7bbb4bb3a06f83f7223a04f0b28f0f8d55d5c refs/remotes/origin/development