To answer my own question:
GIT_DEPTH should be 0. This will deactivate shallow cloning, as it was described in the sonarcloud docs.
To answer my own question:
GIT_DEPTH should be 0. This will deactivate shallow cloning, as it was described in the sonarcloud docs.