Uses AND instead of OR to check Sonar prerequisites

This commit is contained in:
Lukasz Lenart
2024-11-18 19:56:26 +01:00
parent d6b015f623
commit 6e9fa714cf
+1 -1
View File
@@ -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: