diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9464e66..78c359f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,10 @@ jobs: - name: SonarCloud Scan uses: SonarSource/sonarcloud-github-action@master - if: (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && matrix.node-version == '20.x' + if: | + (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && + matrix.node-version == '20.x' && + github.actor != 'dependabot[bot]' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}