Pull request analysis has 0 new lines for all PRs

Hi, I’m running sonarcloud on monorepo hosted in Github. I run sonar-scanner in Drone CI using the drone plugin. When drone is running on master I call the following command:
sonar-scanner -Dsonar.login=$SONAR_TOKEN -Dsonar.host.url=$SONAR_HOST
and when I’m running on PR branch I run the following:
sonar-scanner -Dsonar.login=$SONAR_TOKEN -Dsonar.host.url=$SONAR_HOST -Dsonar.pullrequest.key=$DRONE_PULL_REQUEST -Dsonar.pullrequest.branch="$(git branch --show-current)" -Dsonar.pullrequest.base=master

My issue is that every analysis on PR has 0 new lines and contains no new code. In each PR the sonarcloud quality check is properly displayed. What am I doing wrong?

Additional information:
Repository provider: Github
CI: Drone
Language: Typescript

Hi, does anybody know what could be wrong here? Please help!