From eb3982ebc61f89397a4e82df41d470a42d9cd184 Mon Sep 17 00:00:00 2001 From: Guillaume Toison <86775455+gtoison@users.noreply.github.com> Date: Thu, 5 Dec 2024 02:47:12 +0100 Subject: [PATCH] fix: add back the sonar token (#1110) --- .github/workflows/sonarqube.yml | 1 + 1 file changed, 1 insertion(+) 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 }}