diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 395c042..3a1fa9c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -120,6 +120,7 @@ jobs: SONAR_SCANNER_VERSION: 4.6.1.2450 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + if: env.SONAR_TOKEN != '' steps: - uses: actions/checkout@v2 with: