From 4dd7cfdc3415cab0f186127be75c36b4c2253e49 Mon Sep 17 00:00:00 2001 From: Sander Date: Sun, 14 Jul 2024 14:34:20 +0200 Subject: [PATCH] Don't run SonarCloud Scan from fork PR's --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0903c38..8da7873 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -71,6 +71,7 @@ jobs: fail_ci_if_error: true - name: SonarCloud Scan + if: github.event.pull_request.head.repo.fork == false uses: sonarsource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}