diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c84cebf..7aeb774 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,6 +25,7 @@ jobs: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: 👀 Sonar Scan + if: github.ref == 'refs/heads/master' env: SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}