From bcb970ac239a27628328cf55ba6a5578d0696fa4 Mon Sep 17 00:00:00 2001 From: andrii-hryniv Date: Tue, 13 Jun 2023 02:37:34 +0200 Subject: [PATCH] Fix typo in github token variable --- .github/workflows/sonar-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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