From 58d4d700efdf805570eb575e3c32d7a49f60ac2d Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Mon, 18 Nov 2024 19:28:22 +0100 Subject: [PATCH] Skip Sonar scan on PRs created by Dependabot --- .github/workflows/sonar.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 201f03e24a..82966bc037 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -31,7 +31,7 @@ jobs: sonarcloud: name: Scan runs-on: ubuntu-latest - if: ${{ !github.event.pull_request.base.repo.fork || !github.event.pull_request.head.repo.fork }} + if: ${{ !github.event.pull_request.base.repo.fork || !github.event.pull_request.head.repo.fork || github.actor != 'dependabot[bot]' }} steps: - uses: actions/checkout@v4 with: