diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 82966bc037..03f83e416c 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 || github.actor != 'dependabot[bot]' }} + 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: