The solution is to update the sonarqube-scan-action. The issue has already been resolved.
sonarqube-scan-action