Use GitHub token in GH actions
[e-mobility-charging-stations-simulator.git] / .github / workflows / ci.yml
index e4d010d96454826abb37a8e9732825921e71c345..f7fc9451301a78676f753440fa6252b9e8485a46 100644 (file)
@@ -35,7 +35,7 @@ jobs:
     - name: SonarCloud Scan
       uses: SonarSource/sonarcloud-github-action@master
       env:
-        GITHUB_TOKEN: ${{ secrets.USER_TOKEN }}  # Needed to get PR information, if any
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any
         SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
   build-docker:
     runs-on: ubuntu-latest