Skip to content

Commit

Permalink
Actualizacion de configuracion de sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo3829l committed Apr 4, 2024
1 parent ffeddad commit 365ad2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sonar_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: Check SonarCloud Quality Gate
run: |
QUALITY_GATE_STATUS=$(curl -s -u ${{ secrets.SONAR_TOKEN }}: "https://sonarcloud.io/api/qualitygates/project_status?projectKey=<tu_proyecto_en_sonarcloud>")
QUALITY_GATE_STATUS=$(curl -s -u ${{ secrets.SONAR_TOKEN }}: "https://sonarcloud.io/api/qualitygates/project_status?projectKey=rodrigo3829l_db_api_mygarden_llc")
if [[ $(echo $QUALITY_GATE_STATUS | jq -r '.projectStatus.status') == "ERROR" ]]; then
echo "SonarCloud Quality Gate failed. Reverting to previous version..."
git config --global user.email "[email protected]"
Expand Down

0 comments on commit 365ad2a

Please sign in to comment.