Merge pull request #1131 from apache/fix/sonar-scan-and

Uses AND instead of OR to check Sonar prerequisites
This commit is contained in:
Lukasz Lenart
2024-11-19 06:41:31 +01:00
committed by GitHub
+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: