diff --git a/.github/workflows/sonar-build.yml b/.github/workflows/sonar-build.yml index afa5782f1..d78a4b097 100644 --- a/.github/workflows/sonar-build.yml +++ b/.github/workflows/sonar-build.yml @@ -32,6 +32,6 @@ jobs: restore-keys: ${{ runner.os }}-m2 - name: Build and analyze env: - GITHUB_TOKEN: ${{ token.github }} # Needed to get PR information, if any + GITHUB_TOKEN: ${{ github.token }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} run: mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=andrii-hryniv_spring-petclinic