From c9d333252789f4cd08f5efcb4da5a3bdb9a2a666 Mon Sep 17 00:00:00 2001 From: Roman Korostinskiy <70313618+c71n93@users.noreply.github.com> Date: Fri, 17 May 2024 18:31:20 +0300 Subject: [PATCH] #2251 ignore this worflow for PRs from forks --- .github/workflows/sonarcloud.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 3ab6b04666..827d880510 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -32,6 +32,9 @@ on: types: [ opened, synchronize, reopened ] jobs: sonarcloud: + if: github.repository == 'objectionary/eo' && + github.event_name != 'pull_request' || + github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4