diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index 186c9ba9..176cd5cd 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -64,6 +64,7 @@ jobs: -Dsonar.projectKey=com.github.spotbugs:sonar-findbugs-plugin \ -Dsonar.organization=spotbugs \ -Dsonar.host.url=https://sonarcloud.io \ + -Dsonar.token=$SONAR_TOKEN \ ${PR_NUMBER:+ -Dsonar.pullrequest.key=$PR_NUMBER -Dsonar.pullrequest.branch=$PR_BRANCH } env: GITHUB_TOKEN: ${{ secrets.PAT_TO_FORK }}