diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 836d50d20..4a3667e4c 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -31,6 +31,7 @@ jobs: sonarcloud: name: Scan runs-on: ubuntu-latest + if: ${{ !github.event.pull_request.head.repo.fork }} steps: - uses: actions/checkout@v4 with: