From 62dcf64351d885903ad07a127e5e1f3b95a6ac13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D0=BE=D0=B1=D0=BE=D0=BB=D0=B5=D0=B2=20=D0=92=D0=B0?= =?UTF-8?q?=D1=81=D0=B8=D0=BB=D0=B8=D0=B9?= Date: Thu, 20 Aug 2026 10:57:03 +0300 Subject: [PATCH] Skip SonarCloud analysis for pull requests from forks --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f466f95..0e669f8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -48,6 +48,7 @@ jobs: name: SonarCloud Analysis runs-on: ubuntu-latest needs: build + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository steps: - name: Checkout repository uses: actions/checkout@v7