Closed
Description
Short overview
Only try to send results to SonarCloud when SONAR_TOKEN
is set
Use case
Avoid failing dependabot pull requests due to SonarCloud
Detailed description
Whenever dependabot opens a new pull request it fail to run since it can't access the required SONAR_TOKEN
secret.
Since we're not interested in Sonar analyses for dependabot PRs, we should not run this step if the token is not set.
CI runs for PRs of outside contributers have to be started manually, so we wont have a problem here.