From 2765ace570bdab7135eafedf5177df27d0d66ac3 Mon Sep 17 00:00:00 2001 From: yashmeet29 <160218676+yashmeet29@users.noreply.github.com> Date: Wed, 19 Jun 2024 16:18:29 +0530 Subject: [PATCH] Update sonarqube.yml --- .github/workflows/sonarqube.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml index 598cc8e..88fccb4 100644 --- a/.github/workflows/sonarqube.yml +++ b/.github/workflows/sonarqube.yml @@ -54,7 +54,7 @@ jobs: npm run test - name: Analyze with SonarQube - uses: SonarSource/sonarqube-scan-action@v1.1.0 + uses: SonarSource/sonarqube-scan-action@master env: GITHUB_TOKEN: ${{ secrets.SDM_CAP_GITHUB_TOKEN }} # Needed to get PR information SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} # Generate a token on SonarQube, add it to the secrets of this repo with the name SONAR_TOKEN (Settings > Secrets > Actions > add new repository secret) @@ -74,7 +74,7 @@ jobs: # Check the Quality Gate status. - name: SonarQube Quality Gate check id: sonarqube-quality-gate-check - uses: sonarsource/sonarqube-quality-gate-action@v1.1.0 + uses: sonarsource/sonarqube-quality-gate-action@master # Force to fail step after specific time. timeout-minutes: 5 env: