diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11162f1..6e11b13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,10 +56,14 @@ jobs: with: fetch-depth: 0 - name: Download coverage report - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v8 with: name: coverage-report - name: SonarCloud Scan + if: github.event_name != 'pull_request' || github.event.pull_request.user.login != 'dependabot[bot]' uses: SonarSource/sonarqube-scan-action@713881670b6b3676cda39549040e2d88c70d582e # v8 env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + - name: Skip SonarCloud scan for Dependabot + if: github.event_name == 'pull_request' && github.event.pull_request.user.login == 'dependabot[bot]' + run: echo "SonarCloud credentials are unavailable to Dependabot pull requests."