From 6e9fa714cf5854b16840549a01199fa29d90f1cf Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Mon, 18 Nov 2024 19:56:26 +0100 Subject: [PATCH] Uses AND instead of OR to check Sonar prerequisites --- .github/workflows/sonar.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: