disable sonarqube scans for dependabot

This commit is contained in:
Eugene Pankov 2022-11-26 20:30:35 +01:00
parent b3ba3e7dd9
commit 792d22c09e
No known key found for this signature in database
GPG key ID: 5896FCBBDD1CF4F4

View file

@ -48,7 +48,7 @@ jobs:
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
if: github.repository_owner == 'warp-tech'
if: github.repository_owner == 'warp-tech' && github.actor != 'dependabot[bot]'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}