From 77113764d3822dfcc6578f3458c089077add71c8 Mon Sep 17 00:00:00 2001 From: asteriskzie Date: Sun, 26 May 2024 10:21:45 +0700 Subject: [PATCH] Fix SonarCloud: Change env in sonarcloud.yml --- .github/workflows/sonarcloud.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index d646d90..178ffd1 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -49,6 +49,9 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on Sonarcloud.io, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret) + SPRING_DATASOURCE_URL: jdbc:postgresql://localhost:5432/snackscription_review + SPRING_DATASOURCE_USERNAME: postgres + SPRING_DATASOURCE_PASSWORD: postgres with: # Additional arguments for the sonarcloud scanner args: